diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5d3cc4cfc..06861d479 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,15 +109,15 @@ frontend build: - static/ - config/webpack.yml -uniworx: +backend build: stage: build cache: - *stack-cache script: - make bin/uniworx - - find .stack-work - - cp $(stack path --dist-dir)/build/hlint/hlint bin/test-hlint - - cp $(stack path --dist-dir)/build/yesod/yesod bin/test-yesod + # - find .stack-work + # - cp $(stack path --dist-dir)/build/hlint/hlint bin/test-hlint + # - cp $(stack path --dist-dir)/build/yesod/yesod bin/test-yesod needs: - job: frontend dependencies # transitive artifacts: false @@ -132,35 +132,37 @@ uniworx: - bin/ resource_group: ram -uniworxdb: - stage: build - script: - - make bin/uniworxdb - needs: - # TODO: no frontend needed - - job: frontend dependencies # transitive - artifacts: false - - job: frontend build # transitive - artifacts: false - artifacts: - paths: - - bin/uniworxdb +# TODO: part of backend build; probably deprecated +# uniworxdb: +# stage: build +# script: +# - make bin/uniworxdb +# needs: +# # TODO: no frontend needed +# - job: frontend dependencies # transitive +# artifacts: false +# - job: frontend build # transitive +# artifacts: false +# artifacts: +# paths: +# - bin/uniworxdb +# TODO: part of backend build; probably deprecated # TODO: rewrite -uniworx:exe:uniworxload: - stage: build - script: - - xzcat uniworx:lib:uniworx.nar.xz | nix-store --import - - nix -L build -o result ".#uniworx:exe:uniworxload" - - nix-store --export $(nix-store -qR result) | xz -T0 -2 > uniworx:exe:uniworxload.nar.xz - needs: - - job: frontend dependencies # transitive - artifacts: false - - job: frontend build # transitive - artifacts: false - artifacts: - paths: - - uniworx:exe:uniworxload.nar.xz +# uniworx:exe:uniworxload: +# stage: build +# script: +# - xzcat uniworx:lib:uniworx.nar.xz | nix-store --import +# - nix -L build -o result ".#uniworx:exe:uniworxload" +# - nix-store --export $(nix-store -qR result) | xz -T0 -2 > uniworx:exe:uniworxload.nar.xz +# needs: +# - job: frontend dependencies # transitive +# artifacts: false +# - job: frontend build # transitive +# artifacts: false +# artifacts: +# paths: +# - uniworx:exe:uniworxload.nar.xz frontend lint: stage: lint @@ -184,7 +186,7 @@ backend lint: needs: - job: backend dependencies artifacts: true - - job: uniworx + - job: backend build artifacts: true frontend test: @@ -205,7 +207,7 @@ backend test: needs: - job: backend dependencies artifacts: true - - job: uniworx + - job: backend build artifacts: true # TODO: configure report artifacts