mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 04:56:01 +01:00
Run onnamespace, use their cache
This commit is contained in:
parent
b0a325d8db
commit
6185afef92
2 changed files with 6 additions and 1 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -135,6 +135,11 @@ jobs:
|
|||
FLAKE_REGRESSION_GLOB: ${{ matrix.glob }}
|
||||
NIX_CONFIG: ${{ matrix.nix_config }}
|
||||
run: |
|
||||
set -x
|
||||
if [ ! -z "${NSC_CACHE_PATH:-}" ]; then
|
||||
mkdir -p "${NSC_CACHE_PATH}/nix/xdg-cache"
|
||||
export XDG_CACHE_HOME="${NSC_CACHE_PATH}/nix/xdg-cache"
|
||||
fi
|
||||
nix build -L --out-link ./new-nix
|
||||
export PATH=$(pwd)/new-nix/bin:$PATH
|
||||
|
||||
|
|
|
|||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
system: x86_64-linux
|
||||
runner: UbuntuLatest32Cores128G
|
||||
runner: namespace-profile-linuxamd32c64g-cache
|
||||
runner_small: ubuntu-latest
|
||||
run_tests: true
|
||||
run_vm_tests: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue