1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 10:31:15 +02:00

Merge pull request #47 from DeterminateSystems/test-on-x86_64-darwin

Test on x86_64-darwin
This commit is contained in:
Eelco Dolstra 2025-02-19 10:41:04 +01:00 committed by GitHub
commit 7202f11c74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 5 deletions

View file

@ -17,5 +17,5 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@main
with:
flakehub: true
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build
- uses: DeterminateSystems/flakehub-cache-action@main
- run: nix build -L

View file

@ -34,6 +34,11 @@ jobs:
with:
os: UbuntuLatest32Cores128GArm
build_x86_64-darwin:
uses: ./.github/workflows/build.yml
with:
os: macos-13
build_aarch64-darwin:
uses: ./.github/workflows/build.yml
with:
@ -51,6 +56,12 @@ jobs:
with:
os: UbuntuLatest32Cores128GArm
test_x86_64-darwin:
uses: ./.github/workflows/test.yml
needs: build_aarch64-darwin
with:
os: macos-13
test_aarch64-darwin:
uses: ./.github/workflows/test.yml
needs: build_aarch64-darwin
@ -65,7 +76,7 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@main
with:
flakehub: true
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flakehub-cache-action@main
- run: |
nix build -L \
.#hydraJobs.tests.functional_user \
@ -93,5 +104,5 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@main
with:
flakehub: true
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flakehub-cache-action@main
- run: nix build -L --out-link ./new-nix && PATH=$(pwd)/new-nix/bin:$PATH MAX_FLAKES=25 flake-regressions/eval-all.sh

View file

@ -17,5 +17,5 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@main
with:
flakehub: true
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flakehub-cache-action@main
- run: nix flake check -L