Test on macOS

This commit is contained in:
Eelco Dolstra 2024-01-09 18:55:07 +01:00
parent 5e8c8cee1b
commit bbbaf0c54d

View file

@ -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