From a5197ef5b596eaffbd0c2ed44e7b98af2a73e93c Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Tue, 16 Apr 2024 22:27:08 +0200 Subject: ci: run the loadable extension test in another job --- .github/workflows/main.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to '.github') 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: if: ${{ matrix.os == 'ubuntu-latest' }} run: zig build test -Dci=true -Din_memory=true --summary all -fqemu -fwine - name: Run Tests in memory - if: ${{ matrix.os == 'macos-latest' }} - run: zig build test -Dci=true -Din_memory=true --summary all - - name: Run Tests in memory - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.os != 'ubuntu-latest' }} run: zig build test -Dci=true -Din_memory=true --summary all + test-loadable-extension: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup zig + uses: goto-bus-stop/setup-zig@v2 + with: + version: master + - name: Build the example zigcrypto loadable extension run: zig build zigcrypto - name: Test the zigcrypto loadable extension - if: ${{ matrix.os != 'windows-latest' }} run: ./zig-out/bin/zigcrypto-test -- cgit v1.2.3