Build Nix expression during weekly GitLab CI checks
This commit is contained in:
parent
3d5578df1a
commit
c56aceb555
|
@ -11,6 +11,14 @@ stages:
|
||||||
- test
|
- test
|
||||||
- package
|
- package
|
||||||
|
|
||||||
|
.with-cachix-mono:
|
||||||
|
before_script:
|
||||||
|
- nix-env -iA nixpkgs.cachix
|
||||||
|
- cachix use $CACHIX_CACHE_NAME
|
||||||
|
image: nixos/nix:latest
|
||||||
|
variables:
|
||||||
|
CACHIX_CACHE_NAME: mono-for-bizhawk
|
||||||
|
|
||||||
build:
|
build:
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: "30 minutes"
|
expire_in: "30 minutes"
|
||||||
|
@ -35,6 +43,28 @@ build_ext_tools:
|
||||||
- for d in $CI_PROJECT_DIR/ExternalToolProjects/*; do if [ -d "$d" ]; then cd "$d" && ./build_release.sh; fi; done
|
- for d in $CI_PROJECT_DIR/ExternalToolProjects/*; do if [ -d "$d" ]; then cd "$d" && ./build_release.sh; fi; done
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
|
build_nix_master:
|
||||||
|
allow_failure: true
|
||||||
|
extends: .with-cachix-mono
|
||||||
|
needs: []
|
||||||
|
rules:
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||||
|
when: always
|
||||||
|
script:
|
||||||
|
- nix-build --pure -A emuhawk --arg useCWDAsSource true
|
||||||
|
stage: test
|
||||||
|
|
||||||
|
build_nix_prev_release:
|
||||||
|
allow_failure: true
|
||||||
|
extends: .with-cachix-mono
|
||||||
|
needs: []
|
||||||
|
rules:
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||||
|
when: always
|
||||||
|
script:
|
||||||
|
- nix-build --pure -A emuhawk
|
||||||
|
stage: test
|
||||||
|
|
||||||
check_style:
|
check_style:
|
||||||
image: mcr.microsoft.com/dotnet/sdk:6.0
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||||
needs:
|
needs:
|
||||||
|
|
Loading…
Reference in New Issue