deploy to cachix

This commit is contained in:
Wolfgang Thaller 2022-01-03 23:06:07 +01:00
parent 4aae6074e5
commit 6c8840ae2c

View File

@ -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)