Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit f5c761a6 authored by g4m4's avatar g4m4
Browse files

[CI] Fix script

parent 10aef11b
No related branches found
No related tags found
No related merge requests found
Pipeline #53350 failed
...@@ -10,7 +10,7 @@ lint:linux: ...@@ -10,7 +10,7 @@ lint:linux:
stage: lint stage: lint
image: xianpengshen/clang-tools:18 image: xianpengshen/clang-tools:18
before_script: before_script:
- apt update && apt -y install clang git ninja-build cmake - apt update && apt -y install clang git ninja-build cmake iwyu
cache: cache:
- key: cpm_cache - key: cpm_cache
paths: paths:
...@@ -19,11 +19,14 @@ lint:linux: ...@@ -19,11 +19,14 @@ lint:linux:
CPM_SOURCE_CACHE: "cpm_cache" CPM_SOURCE_CACHE: "cpm_cache"
script: script:
- cmake --preset x64-linux-debug - cmake --preset x64-linux-debug
- cmake --build --preset x64-linux-debug --target sandbox_lib_analysis | tee build.log - cmake --build --preset x64-linux-debug --target fixit_lib_analysis | tee analysis.log
- chmod +x ./ci/analyse_log.sh && /bin/sh ./ci/analyse_log.sh - chmod +x ./scripts/analyse_log.sh && /bin/sh ./scripts/analyse_log.sh analysis.log warnings.log
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
artifacts: artifacts:
expire_in: 2 days expire_in: 2 days
paths: paths:
- analysis.log
- warnings.log - warnings.log
build:linux: build:linux:
...@@ -45,7 +48,7 @@ build:linux: ...@@ -45,7 +48,7 @@ build:linux:
artifacts: artifacts:
expire_in: 2 hrs expire_in: 2 hrs
paths: paths:
- out/install/ - out/ci/install/
# build:windows: # build:windows:
# stage: build # stage: build
...@@ -69,7 +72,7 @@ test:linux: ...@@ -69,7 +72,7 @@ test:linux:
# tags: # tags:
# - linux # - linux
script: script:
- ./out/install/x64-linux-ci/bin/sandbox_test - ./out/ci/install/bin/sandbox_test
dependencies: dependencies:
- build:linux - build:linux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment