From 1fe8d144c71a5018585e18846d5c3301ba575a92 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Tue, 30 Apr 2024 18:40:41 +0200 Subject: [PATCH] test macos too --- .github/workflows/ci_nix.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_nix.yml b/.github/workflows/ci_nix.yml index 39c3de2..e30b9fb 100644 --- a/.github/workflows/ci_nix.yml +++ b/.github/workflows/ci_nix.yml @@ -8,8 +8,13 @@ concurrency: cancel-in-progress: true jobs: - build-and-test: - runs-on: [ubuntu-22.04] + build-and-test-nix: + strategy: + fail-fast: false + matrix: + # macos-11 uses x86-64 machine, macos-14 uses aarch64 + os: [ macos-11, macos-14, ubuntu-22.04 ] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -26,4 +31,4 @@ jobs: # the result folder is produced by the previous step - name: Run all tests run: nix develop -c sh -c 'export ROC=roc && export EXAMPLES_DIR=./examples/ && ./ci/all_tests.sh' - \ No newline at end of file +