summaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/main.yml')
-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