From 97dc032be86d47f6840af823932b168a8109aa01 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Tue, 16 Apr 2024 22:06:21 +0200 Subject: ci: don't use -frosetta --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6a6093c..d97177c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,7 +61,7 @@ jobs: 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 -frosetta + run: zig build test -Dci=true -Din_memory=true --summary all - name: Run Tests in memory if: ${{ matrix.os == 'windows-latest' }} run: zig build test -Dci=true -Din_memory=true --summary all -- cgit v1.2.3 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 From 31ecdc898c195a9f413fdecb7497693572c2dad3 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Tue, 16 Apr 2024 22:27:22 +0200 Subject: ci: don't need submodules --- .github/workflows/main.yml | 2 -- 1 file changed, 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1c71a57..8d3162e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,8 +34,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - with: - submodules: true - name: Setup zig uses: goto-bus-stop/setup-zig@v2 -- cgit v1.2.3