mirror of
https://github.com/NixOS/nix
synced 2025-06-29 14:53:16 +02:00
Merge pull request #47 from DeterminateSystems/test-on-x86_64-darwin
Test on x86_64-darwin
This commit is contained in:
commit
7202f11c74
3 changed files with 16 additions and 5 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -17,5 +17,5 @@ jobs:
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
with:
|
||||||
flakehub: true
|
flakehub: true
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/flakehub-cache-action@main
|
||||||
- run: nix build
|
- run: nix build -L
|
||||||
|
|
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -34,6 +34,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
os: UbuntuLatest32Cores128GArm
|
os: UbuntuLatest32Cores128GArm
|
||||||
|
|
||||||
|
build_x86_64-darwin:
|
||||||
|
uses: ./.github/workflows/build.yml
|
||||||
|
with:
|
||||||
|
os: macos-13
|
||||||
|
|
||||||
build_aarch64-darwin:
|
build_aarch64-darwin:
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
with:
|
with:
|
||||||
|
@ -51,6 +56,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
os: UbuntuLatest32Cores128GArm
|
os: UbuntuLatest32Cores128GArm
|
||||||
|
|
||||||
|
test_x86_64-darwin:
|
||||||
|
uses: ./.github/workflows/test.yml
|
||||||
|
needs: build_aarch64-darwin
|
||||||
|
with:
|
||||||
|
os: macos-13
|
||||||
|
|
||||||
test_aarch64-darwin:
|
test_aarch64-darwin:
|
||||||
uses: ./.github/workflows/test.yml
|
uses: ./.github/workflows/test.yml
|
||||||
needs: build_aarch64-darwin
|
needs: build_aarch64-darwin
|
||||||
|
@ -65,7 +76,7 @@ jobs:
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
with:
|
||||||
flakehub: true
|
flakehub: true
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/flakehub-cache-action@main
|
||||||
- run: |
|
- run: |
|
||||||
nix build -L \
|
nix build -L \
|
||||||
.#hydraJobs.tests.functional_user \
|
.#hydraJobs.tests.functional_user \
|
||||||
|
@ -93,5 +104,5 @@ jobs:
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
with:
|
||||||
flakehub: true
|
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
|
- run: nix build -L --out-link ./new-nix && PATH=$(pwd)/new-nix/bin:$PATH MAX_FLAKES=25 flake-regressions/eval-all.sh
|
||||||
|
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -17,5 +17,5 @@ jobs:
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
with:
|
||||||
flakehub: true
|
flakehub: true
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/flakehub-cache-action@main
|
||||||
- run: nix flake check -L
|
- run: nix flake check -L
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue