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"
|
name: "$CI_HAWK_ARTIFACT_NAME"
|
||||||
paths:
|
paths:
|
||||||
- "$CI_HAWK_ARTIFACT_NAME_TAR"
|
- "$CI_HAWK_ARTIFACT_NAME_TAR"
|
||||||
image: debian:buster-slim
|
image: nixos/nix:latest
|
||||||
needs:
|
needs:
|
||||||
- build_asms_release
|
- build_asms_release
|
||||||
- job: build_asms_debug
|
- job: build_asms_debug
|
||||||
artifacts: false
|
artifacts: false
|
||||||
script:
|
script:
|
||||||
- su -c "apt-get update && apt-get -y install p7zip-full"
|
- nix-shell -p stdenvNoCC --run 'Dist/Package.sh "linux-x64"'
|
||||||
- Dist/Package.sh "linux-x64"
|
|
||||||
- cd packaged_output
|
- cd packaged_output
|
||||||
- tar -cf "../$CI_HAWK_ARTIFACT_NAME_TAR" *
|
- tar -cf "../$CI_HAWK_ARTIFACT_NAME_TAR" *
|
||||||
stage: package
|
stage: package
|
||||||
|
@ -135,14 +134,13 @@ check_style:
|
||||||
name: "$CI_HAWK_ARTIFACT_NAME"
|
name: "$CI_HAWK_ARTIFACT_NAME"
|
||||||
paths:
|
paths:
|
||||||
- ./*
|
- ./*
|
||||||
image: debian:buster-slim
|
image: nixos/nix:latest
|
||||||
needs:
|
needs:
|
||||||
- build_asms_release
|
- build_asms_release
|
||||||
- job: build_asms_debug
|
- job: build_asms_debug
|
||||||
artifacts: false
|
artifacts: false
|
||||||
script:
|
script:
|
||||||
- su -c "apt-get update && apt-get -y install p7zip-full"
|
- nix-shell -p stdenvNoCC --run 'Dist/Package.sh "windows-x64"'
|
||||||
- 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
|
# 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 ..
|
- mv packaged_output ..
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
Loading…
Reference in New Issue