chore(gitlab-ci): add stack as input
This commit is contained in:
parent
a712cf279d
commit
f4b92dfd9d
@ -97,7 +97,7 @@ frontend build:
|
|||||||
backend lint:
|
backend lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
script:
|
script:
|
||||||
- "nix shell .#gnumake --command make CI=1 backend-lint"
|
- "nix shell .#gnumake .#stack --command make CI=1 backend-lint"
|
||||||
before_script: *nix-before
|
before_script: *nix-before
|
||||||
retry: 2
|
retry: 2
|
||||||
interruptible: true
|
interruptible: true
|
||||||
@ -112,7 +112,7 @@ backend build:
|
|||||||
- .stack-work/
|
- .stack-work/
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- "nix shell .#gnumake --command make CI=1 backend-build"
|
- "nix shell .#gnumake .#stack --command make CI=1 backend-build"
|
||||||
- cp $(stack path --dist-dir)/build/hlint/hlint bin/test-hlint
|
- cp $(stack path --dist-dir)/build/hlint/hlint bin/test-hlint
|
||||||
- cp $(stack path --dist-dir)/build/yesod/yesod bin/test-yesod
|
- cp $(stack path --dist-dir)/build/yesod/yesod bin/test-yesod
|
||||||
before_script: *nix-before
|
before_script: *nix-before
|
||||||
|
|||||||
Reference in New Issue
Block a user