mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-27 01:30:35 +01:00
Test on macOS
This commit is contained in:
parent
5e8c8cee1b
commit
bbbaf0c54d
1 changed files with 32 additions and 15 deletions
47
.github/workflows/ci.yml
vendored
47
.github/workflows/ci.yml
vendored
|
@ -48,18 +48,35 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
.github/workflows/cache-test.sh
|
.github/workflows/cache-test.sh
|
||||||
|
|
||||||
# run-x86_64-darwin:
|
run-x86_64-darwin:
|
||||||
# name: Run x86_64 Darwin
|
name: Run x86_64 Darwin
|
||||||
# runs-on: macos-12
|
runs-on: macos-12
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# - name: Install Nix
|
- name: Install Nix
|
||||||
# uses: DeterminateSystems/nix-installer-action@main
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
# with:
|
with:
|
||||||
# extra-conf: |
|
extra-conf: |
|
||||||
# narinfo-cache-negative-ttl = 0
|
narinfo-cache-negative-ttl = 0
|
||||||
# - name: Cache the store
|
- name: Cache the store
|
||||||
# uses: ./
|
uses: ./
|
||||||
# - name: Check the cache for liveness
|
- name: Check the cache for liveness
|
||||||
# run: |
|
run: |
|
||||||
# .github/workflows/cache-test.sh
|
.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
|
||||||
|
|
Loading…
Reference in a new issue