setup nx before checkout
This commit is contained in:
parent
9ccb30d35c
commit
d22b0d3184
|
@ -95,8 +95,6 @@ jobs:
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-22.04'
|
vmImage: 'ubuntu-22.04'
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
|
||||||
submodules: false
|
|
||||||
- script: |
|
- script: |
|
||||||
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm
|
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm
|
||||||
displayName: Install Nix
|
displayName: Install Nix
|
||||||
|
@ -104,6 +102,8 @@ jobs:
|
||||||
nix-env -iA cachix -f https://cachix.org/api/v1/install
|
nix-env -iA cachix -f https://cachix.org/api/v1/install
|
||||||
cachix use autc04
|
cachix use autc04
|
||||||
displayName: Setup Cachix
|
displayName: Setup Cachix
|
||||||
|
- checkout: self
|
||||||
|
submodules: false
|
||||||
- script: |
|
- script: |
|
||||||
nix develop .#${TARGET} --profile dev-profile -c true
|
nix develop .#${TARGET} --profile dev-profile -c true
|
||||||
nix build .#samples-${TARGET} --out-link=CompiledSamples
|
nix build .#samples-${TARGET} --out-link=CompiledSamples
|
||||||
|
@ -132,8 +132,6 @@ jobs:
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'macOS-11'
|
vmImage: 'macOS-11'
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
|
||||||
submodules: false
|
|
||||||
- script: |
|
- script: |
|
||||||
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm
|
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm
|
||||||
displayName: Install Nix
|
displayName: Install Nix
|
||||||
|
@ -141,6 +139,8 @@ jobs:
|
||||||
nix-env -iA cachix -f https://cachix.org/api/v1/install
|
nix-env -iA cachix -f https://cachix.org/api/v1/install
|
||||||
cachix use autc04
|
cachix use autc04
|
||||||
displayName: Setup Cachix
|
displayName: Setup Cachix
|
||||||
|
- checkout: self
|
||||||
|
submodules: false
|
||||||
- script: |
|
- script: |
|
||||||
nix develop .#${TARGET} --profile dev-profile -c true
|
nix develop .#${TARGET} --profile dev-profile -c true
|
||||||
nix build .#samples-${TARGET} --out-link=CompiledSamples
|
nix build .#samples-${TARGET} --out-link=CompiledSamples
|
||||||
|
|
Loading…
Reference in New Issue