From bbbaf0c54db7221073a92cc83350fed0e101317c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 9 Jan 2024 18:55:07 +0100 Subject: [PATCH] Test on macOS --- .github/workflows/ci.yml | 47 +++++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5bf051..11d456f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,18 +48,35 @@ jobs: run: | .github/workflows/cache-test.sh - # run-x86_64-darwin: - # name: Run x86_64 Darwin - # runs-on: macos-12 - # steps: - # - uses: actions/checkout@v3 - # - name: Install Nix - # uses: DeterminateSystems/nix-installer-action@main - # with: - # extra-conf: | - # narinfo-cache-negative-ttl = 0 - # - name: Cache the store - # uses: ./ - # - name: Check the cache for liveness - # run: | - # .github/workflows/cache-test.sh + run-x86_64-darwin: + name: Run x86_64 Darwin + runs-on: macos-12 + steps: + - uses: actions/checkout@v3 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + with: + extra-conf: | + narinfo-cache-negative-ttl = 0 + - name: Cache the store + uses: ./ + - name: Check the cache for liveness + run: | + .github/workflows/cache-test.sh + + run-aarch64-darwin: + name: Run aarch64 Darwin + concurrency: build-ARM64-macOS + runs-on: macos-latest-xlarge + steps: + - uses: actions/checkout@v3 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + with: + extra-conf: | + narinfo-cache-negative-ttl = 0 + - name: Cache the store + uses: ./ + - name: Check the cache for liveness + run: | + .github/workflows/cache-test.sh