Replace Debian image w/ Nix (Alpine) in GitLab CI
This commit is contained in:
parent
f7eff17921
commit
6316cab017
|
@ -117,14 +117,13 @@ check_style:
|
|||
name: "$CI_HAWK_ARTIFACT_NAME"
|
||||
paths:
|
||||
- "$CI_HAWK_ARTIFACT_NAME_TAR"
|
||||
image: debian:buster-slim
|
||||
image: nixos/nix:latest
|
||||
needs:
|
||||
- build_asms_release
|
||||
- job: build_asms_debug
|
||||
artifacts: false
|
||||
script:
|
||||
- su -c "apt-get update && apt-get -y install p7zip-full"
|
||||
- Dist/Package.sh "linux-x64"
|
||||
- nix-shell -p stdenvNoCC --run 'Dist/Package.sh "linux-x64"'
|
||||
- cd packaged_output
|
||||
- tar -cf "../$CI_HAWK_ARTIFACT_NAME_TAR" *
|
||||
stage: package
|
||||
|
@ -135,14 +134,13 @@ check_style:
|
|||
name: "$CI_HAWK_ARTIFACT_NAME"
|
||||
paths:
|
||||
- ./*
|
||||
image: debian:buster-slim
|
||||
image: nixos/nix:latest
|
||||
needs:
|
||||
- build_asms_release
|
||||
- job: build_asms_debug
|
||||
artifacts: false
|
||||
script:
|
||||
- su -c "apt-get update && apt-get -y install p7zip-full"
|
||||
- Dist/Package.sh "windows-x64"
|
||||
- nix-shell -p stdenvNoCC --run 'Dist/Package.sh "windows-x64"'
|
||||
# now we replace $CI_PROJECT_DIR with $CI_PROJECT_DIR/packaged_output, so that the archival step will put everything at the top level
|
||||
- mv packaged_output ..
|
||||
- cd ..
|
||||
|
|
Loading…
Reference in New Issue