FIX: when setting none for one parameter when this parameter was not … #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Rebol-SQLite CI' | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
windows: | |
strategy: | |
fail-fast: true | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Siskin Builder | |
uses: oldes/install-siskin@v0.7.1 | |
- name: Build 64bit Rebol SQLite extension | |
run: ./siskin Rebol-SQLite.nest --msvc %sqlite-windows-x64 | |
- name: Prepare 64bit Rebol SQLite extension | |
run: COPY .\msvc\Release-x64\sqlite-windows-x64.dll sqlite-windows-x64.rebx | |
- name: Install Rebol for extension test | |
uses: oldes/install-rebol@v3.10.2 | |
- name: Test SQLite raw extension | |
run: ./rebol3 ci-test.r3 | |
- name: Test SQLite scheme | |
run: ./rebol3 sqlite-scheme.r3 | |
############################################################################### | |
# Collecting build artifacts... | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Rebol-SQLite-CI-${{github.run_id}} | |
path: ./sqlite-windows-x64.rebx | |
linux: | |
# strategy: | |
# fail-fast: true | |
# matrix: | |
# os: [ubuntu-18.04] | |
# #os: [ubuntu-20.04, ubuntu-18.04] | |
# | |
# runs-on: ${{ matrix.os }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Siskin Builder | |
uses: oldes/install-siskin@v0.7.1 | |
# - name: Build 32bit Rebol SQLite extension | |
# run: ./siskin Rebol-SQLite.nest [%sqlite-linux-x86] | |
- name: Build 64bit Rebol SQLite extension | |
run: ./siskin Rebol-SQLite.nest %sqlite-linux-x64 | |
# - name: Prepare 32bit Rebol SQLite extension | |
# run: | | |
# mv .\build\sqlite-linux-x86.so sqlite-linux-x86.rebx | |
# gzip -9 ./sqlite-linux-x86.rebx | |
- name: Prepare 64bit Rebol SQLite extension | |
run: mv ./build/sqlite-linux-x64.so sqlite-linux-x64.rebx | |
- name: Install Rebol for extension test | |
uses: oldes/install-rebol@v3.10.2 | |
- name: Test SQLite raw extension | |
run: ./rebol3 ci-test.r3 | |
- name: Test SQLite scheme | |
run: ./rebol3 sqlite-scheme.r3 | |
- name: Compress 64bit Rebol SQLite extension | |
run: gzip -9 ./sqlite-linux-x64.rebx | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Rebol-SQLite-CI-${{github.run_id}} | |
path: ./sqlite-linux-* | |
macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Siskin Builder | |
uses: oldes/install-siskin@v0.7.1 | |
- name: Build 64bit Rebol SQLite extension | |
run: ./siskin Rebol-SQLite.nest %sqlite-macos-x64 | |
- name: Prepare 64bit Rebol SQLite extension | |
run: mv ./build/sqlite-macos-x64.dylib sqlite-macos-x64.rebx | |
- name: Install Rebol for extension test | |
uses: oldes/install-rebol@v3.10.2 | |
- name: Test SQLite raw extension | |
run: ./rebol3 ci-test.r3 | |
- name: Test SQLite scheme | |
run: ./rebol3 sqlite-scheme.r3 | |
- name: Compress 64bit Rebol SQLite extension | |
run: gzip -9 ./sqlite-macos-x64.rebx | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Rebol-SQLite-CI-${{github.run_id}} | |
path: ./sqlite-macos-* |