mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 21:49:33 +00:00
deploy to cachix
This commit is contained in:
parent
4aae6074e5
commit
6c8840ae2c
@ -91,7 +91,6 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- job: nix_ppc
|
- job: nix_ppc
|
||||||
condition: false
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-20.04'
|
vmImage: 'ubuntu-20.04'
|
||||||
steps:
|
steps:
|
||||||
@ -112,13 +111,13 @@ jobs:
|
|||||||
displayName: Copy result out of docker
|
displayName: Copy result out of docker
|
||||||
- publish: CompiledSamples
|
- publish: CompiledSamples
|
||||||
artifact: PowerPC Samples
|
artifact: PowerPC Samples
|
||||||
|
|
||||||
- job: test
|
|
||||||
pool:
|
|
||||||
vmImage: 'ubuntu-20.04'
|
|
||||||
steps:
|
|
||||||
- script: |
|
- script: |
|
||||||
echo Fooo
|
docker start nix -i <<EOF
|
||||||
echo $SECRETTEST
|
nix-env -iA cachix -f https://cachix.org/api/v1/install
|
||||||
|
cd src
|
||||||
|
nix-shell -A powerpc --command exit
|
||||||
|
nix-store -qR --include-outputs $(nix-instantiate default.nix -A powerpc) | cachix push $1
|
||||||
|
EOF
|
||||||
|
displayName: Push to Cachix
|
||||||
env:
|
env:
|
||||||
SECRETTEST: $(SecretTest)
|
CACHIX_AUTH_TOKEN: $(CACHIX_AUTH_TOKEN)
|
||||||
|
Loading…
Reference in New Issue
Block a user