When building Nix derivation in GitLab CI, run tests
This commit is contained in:
parent
ef16b4a457
commit
3bdbe1aeda
|
@ -62,7 +62,7 @@ build_nix_master:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||||
when: always
|
when: always
|
||||||
script:
|
script:
|
||||||
- nix-build --pure -A emuhawk --arg useCWDAsSource true
|
- nix-build --pure -A emuhawk --arg useCWDAsSource true --arg doCheck true
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
build_nix_prev_release:
|
build_nix_prev_release:
|
||||||
|
@ -73,7 +73,7 @@ build_nix_prev_release:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||||
when: always
|
when: always
|
||||||
script:
|
script:
|
||||||
- nix-build --pure -A emuhawk
|
- nix-build --pure -A emuhawk --arg doCheck true
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
check_style:
|
check_style:
|
||||||
|
|
Loading…
Reference in New Issue