summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2024-04-16 22:42:21 +0200
committerGravatar Vincent Rischmann2024-04-16 22:42:21 +0200
commitf411f37a79c8efbdbd746b9102d344859a2a175c (patch)
tree1e82889e9b5b302fa20d5a4ff55f9b13dbc7f047 /.github/workflows
parentbuild: don't test x86_64-macos in ci (diff)
parentci: don't need submodules (diff)
downloadzig-sqlite-f411f37a79c8efbdbd746b9102d344859a2a175c.tar.gz
zig-sqlite-f411f37a79c8efbdbd746b9102d344859a2a175c.tar.xz
zig-sqlite-f411f37a79c8efbdbd746b9102d344859a2a175c.zip
Merge branch 'improve-test-targets'
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml19
1 files changed, 12 insertions, 7 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6a6093c..8d3162e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -34,8 +34,6 @@ jobs:
34 steps: 34 steps:
35 - name: Checkout repository 35 - name: Checkout repository
36 uses: actions/checkout@v4 36 uses: actions/checkout@v4
37 with:
38 submodules: true
39 37
40 - name: Setup zig 38 - name: Setup zig
41 uses: goto-bus-stop/setup-zig@v2 39 uses: goto-bus-stop/setup-zig@v2
@@ -60,14 +58,21 @@ jobs:
60 if: ${{ matrix.os == 'ubuntu-latest' }} 58 if: ${{ matrix.os == 'ubuntu-latest' }}
61 run: zig build test -Dci=true -Din_memory=true --summary all -fqemu -fwine 59 run: zig build test -Dci=true -Din_memory=true --summary all -fqemu -fwine
62 - name: Run Tests in memory 60 - name: Run Tests in memory
63 if: ${{ matrix.os == 'macos-latest' }} 61 if: ${{ matrix.os != 'ubuntu-latest' }}
64 run: zig build test -Dci=true -Din_memory=true --summary all -frosetta
65 - name: Run Tests in memory
66 if: ${{ matrix.os == 'windows-latest' }}
67 run: zig build test -Dci=true -Din_memory=true --summary all 62 run: zig build test -Dci=true -Din_memory=true --summary all
68 63
64 test-loadable-extension:
65 runs-on: ubuntu-latest
66 steps:
67 - name: Checkout repository
68 uses: actions/checkout@v4
69
70 - name: Setup zig
71 uses: goto-bus-stop/setup-zig@v2
72 with:
73 version: master
74
69 - name: Build the example zigcrypto loadable extension 75 - name: Build the example zigcrypto loadable extension
70 run: zig build zigcrypto 76 run: zig build zigcrypto
71 - name: Test the zigcrypto loadable extension 77 - name: Test the zigcrypto loadable extension
72 if: ${{ matrix.os != 'windows-latest' }}
73 run: ./zig-out/bin/zigcrypto-test 78 run: ./zig-out/bin/zigcrypto-test