WIP: Draft: Resolve "Use gnumake for uniform dev build system and GitLab CI" #213

Draft
savau wants to merge 540 commits from 145-build-system-rewrite into master
Showing only changes of commit b90e0999e6 - Show all commits

View File

@ -159,12 +159,13 @@ frontend build:
retry: 2
interruptible: true
# TODO rename to uniworx?
backend build:
stage: build
cache:
- *stack-cache
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/yesod/yesod bin/test-yesod
before_script: *nix-before
@ -193,7 +194,7 @@ backend build:
uniworxdb:
stage: build
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
needs:
- job: node modules # transitive