diff options
Diffstat (limited to '.github/workflows/main.yml')
| -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 |