diff options
| author | 2024-04-16 22:27:08 +0200 | |
|---|---|---|
| committer | 2024-04-16 22:27:08 +0200 | |
| commit | a5197ef5b596eaffbd0c2ed44e7b98af2a73e93c (patch) | |
| tree | 01bebaa2528f8a0cccc73edb9678b890bbb4946e /.github/workflows | |
| parent | build: macos on GitHub Actions is actually x86_64 (diff) | |
| download | zig-sqlite-a5197ef5b596eaffbd0c2ed44e7b98af2a73e93c.tar.gz zig-sqlite-a5197ef5b596eaffbd0c2ed44e7b98af2a73e93c.tar.xz zig-sqlite-a5197ef5b596eaffbd0c2ed44e7b98af2a73e93c.zip | |
ci: run the loadable extension test in another job
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/main.yml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d97177c..1c71a57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml | |||
| @@ -60,14 +60,21 @@ jobs: | |||
| 60 | if: ${{ matrix.os == 'ubuntu-latest' }} | 60 | if: ${{ matrix.os == 'ubuntu-latest' }} |
| 61 | run: zig build test -Dci=true -Din_memory=true --summary all -fqemu -fwine | 61 | run: zig build test -Dci=true -Din_memory=true --summary all -fqemu -fwine |
| 62 | - name: Run Tests in memory | 62 | - name: Run Tests in memory |
| 63 | if: ${{ matrix.os == 'macos-latest' }} | 63 | if: ${{ matrix.os != 'ubuntu-latest' }} |
| 64 | run: zig build test -Dci=true -Din_memory=true --summary all | ||
| 65 | - name: Run Tests in memory | ||
| 66 | if: ${{ matrix.os == 'windows-latest' }} | ||
| 67 | run: zig build test -Dci=true -Din_memory=true --summary all | 64 | run: zig build test -Dci=true -Din_memory=true --summary all |
| 68 | 65 | ||
| 66 | test-loadable-extension: | ||
| 67 | runs-on: ubuntu-latest | ||
| 68 | steps: | ||
| 69 | - name: Checkout repository | ||
| 70 | uses: actions/checkout@v4 | ||
| 71 | |||
| 72 | - name: Setup zig | ||
| 73 | uses: goto-bus-stop/setup-zig@v2 | ||
| 74 | with: | ||
| 75 | version: master | ||
| 76 | |||
| 69 | - name: Build the example zigcrypto loadable extension | 77 | - name: Build the example zigcrypto loadable extension |
| 70 | run: zig build zigcrypto | 78 | run: zig build zigcrypto |
| 71 | - name: Test the zigcrypto loadable extension | 79 | - name: Test the zigcrypto loadable extension |
| 72 | if: ${{ matrix.os != 'windows-latest' }} | ||
| 73 | run: ./zig-out/bin/zigcrypto-test | 80 | run: ./zig-out/bin/zigcrypto-test |