mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-22 04:30:03 +00:00
we want nix in path
This commit is contained in:
parent
ddfda03281
commit
193610a2e1
@ -99,19 +99,21 @@ jobs:
|
|||||||
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
|
||||||
- script: |
|
- script: |
|
||||||
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||||
nix profile install --accept-flake-config nixpkgs#cachix
|
nix profile install --accept-flake-config nixpkgs#cachix
|
||||||
cachix use autc04
|
cachix use autc04
|
||||||
displayName: Setup Cachix
|
displayName: Setup Cachix
|
||||||
- checkout: self
|
- checkout: self
|
||||||
submodules: false
|
submodules: false
|
||||||
- script: |
|
- script: |
|
||||||
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||||
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
|
||||||
displayName: Build
|
displayName: Build
|
||||||
- publish: CompiledSamples
|
- publish: CompiledSamples
|
||||||
artifact: Samples ($(TARGET))
|
artifact: Samples ($(TARGET))
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||||
export CACHIX_AUTH_TOKEN=$(CACHIX_AUTH_TOKEN)
|
export CACHIX_AUTH_TOKEN=$(CACHIX_AUTH_TOKEN)
|
||||||
cachix push autc04 dev-profile
|
cachix push autc04 dev-profile
|
||||||
cachix push autc04 CompiledSamples
|
cachix push autc04 CompiledSamples
|
||||||
@ -136,19 +138,21 @@ jobs:
|
|||||||
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
|
||||||
- script: |
|
- script: |
|
||||||
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||||
nix profile install --accept-flake-config nixpkgs#cachix
|
nix profile install --accept-flake-config nixpkgs#cachix
|
||||||
cachix use autc04
|
cachix use autc04
|
||||||
displayName: Setup Cachix
|
displayName: Setup Cachix
|
||||||
- checkout: self
|
- checkout: self
|
||||||
submodules: false
|
submodules: false
|
||||||
- script: |
|
- script: |
|
||||||
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||||
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
|
||||||
displayName: Build
|
displayName: Build
|
||||||
- publish: CompiledSamples
|
- publish: CompiledSamples
|
||||||
artifact: Samples ($(TARGET))
|
artifact: Samples ($(TARGET))
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||||
export CACHIX_AUTH_TOKEN=$(CACHIX_AUTH_TOKEN)
|
export CACHIX_AUTH_TOKEN=$(CACHIX_AUTH_TOKEN)
|
||||||
cachix push autc04 dev-profile
|
cachix push autc04 dev-profile
|
||||||
cachix push autc04 CompiledSamples
|
cachix push autc04 CompiledSamples
|
||||||
|
Loading…
Reference in New Issue
Block a user