chore(gitlab-ci): fix syntax

This commit is contained in:
Sarah Vaupel 2024-06-21 00:16:47 +02:00
parent d7190fb9a1
commit b90e0999e6

View File

@ -159,12 +159,13 @@ frontend build:
retry: 2 retry: 2
interruptible: true interruptible: true
# TODO rename to uniworx?
backend build: backend build:
stage: build stage: build
cache: cache:
- *stack-cache - *stack-cache
script: script:
- "nix shell .#gnumake .#coreutils .#stack .#tzdata --command \"prepare-env && make bin/uniworx\"" - nix shell .#gnumake .#coreutils .#stack .#tzdata --command "prepare-env && make bin/uniworx"
- 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
@ -193,7 +194,7 @@ backend build:
uniworxdb: uniworxdb:
stage: build stage: build
script: script:
- "nix shell .#gnumake .#coreutils .#stack .#tzdata --command \"prepare-env && make bin/uniworxdb\"" - nix shell .#gnumake .#coreutils .#stack .#tzdata --command "prepare-env && make bin/uniworxdb"
before_script: *nix-before before_script: *nix-before
needs: needs:
- job: node modules # transitive - job: node modules # transitive