mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-12 14:01:15 -04:00
Expose cov-int.tar.gz as an artifact and upload its URL
This commit is contained in:
parent
550b0c985f
commit
7569273b33
@ -125,18 +125,28 @@ Coverity:
|
|||||||
- ccache -z -M "${CCACHE_SIZE}"
|
- ccache -z -M "${CCACHE_SIZE}"
|
||||||
- CI/before_script.linux.sh
|
- CI/before_script.linux.sh
|
||||||
- cov-analysis-linux64-*/bin/cov-configure --template --comptype prefix --compiler ccache
|
- cov-analysis-linux64-*/bin/cov-configure --template --comptype prefix --compiler ccache
|
||||||
# Remove the specific targets and build everything once we can do it under 3h
|
|
||||||
- cov-analysis-linux64-*/bin/cov-build --dir cov-int cmake --build build -- -j $(nproc)
|
- cov-analysis-linux64-*/bin/cov-build --dir cov-int cmake --build build -- -j $(nproc)
|
||||||
- ccache -svv
|
- ccache -svv
|
||||||
after_script:
|
|
||||||
- tar cfz cov-int.tar.gz cov-int
|
- tar cfz cov-int.tar.gz cov-int
|
||||||
- curl https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME
|
|
||||||
--form token=$COVERITY_SCAN_TOKEN --form email=$GITLAB_USER_EMAIL
|
|
||||||
--form file=@cov-int.tar.gz --form version="$CI_COMMIT_REF_NAME:$CI_COMMIT_SHORT_SHA"
|
|
||||||
--form description="CI_COMMIT_SHORT_SHA / $CI_COMMIT_TITLE / $CI_COMMIT_REF_NAME:$CI_PIPELINE_ID"
|
|
||||||
artifacts:
|
artifacts:
|
||||||
|
expire_in: 1 day
|
||||||
paths:
|
paths:
|
||||||
- /builds/OpenMW/openmw/cov-int/build-log.txt
|
- /builds/OpenMW/openmw/cov-int/build-log.txt
|
||||||
|
- /builds/OpenMW/openmw/cov-int.tar.gz
|
||||||
|
|
||||||
|
Coverity_Upload:
|
||||||
|
image: ubuntu:24.04
|
||||||
|
stage: build
|
||||||
|
before_script:
|
||||||
|
- CI/install_debian_deps.sh coverity_upload
|
||||||
|
script:
|
||||||
|
- curl https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME
|
||||||
|
--form token=$COVERITY_SCAN_TOKEN --form email=$GITLAB_USER_EMAIL
|
||||||
|
--form version="$CI_COMMIT_REF_NAME:$CI_COMMIT_SHORT_SHA"
|
||||||
|
--form description="CI_COMMIT_SHORT_SHA / $CI_COMMIT_TITLE / $CI_COMMIT_REF_NAME:$CI_PIPELINE_ID"
|
||||||
|
--form url="$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/$CI_DEFAULT_BRANCH_SLUG/raw/cov-int.tar.gz?job=Coverity"
|
||||||
|
needs:
|
||||||
|
- Coverity
|
||||||
|
|
||||||
Ubuntu_GCC:
|
Ubuntu_GCC:
|
||||||
extends: .Ubuntu
|
extends: .Ubuntu
|
||||||
|
@ -12,6 +12,7 @@ declare -rA GROUPED_DEPS=(
|
|||||||
[gcc]="binutils gcc build-essential cmake ccache curl unzip git pkg-config mold"
|
[gcc]="binutils gcc build-essential cmake ccache curl unzip git pkg-config mold"
|
||||||
[clang]="binutils clang make cmake ccache curl unzip git pkg-config mold"
|
[clang]="binutils clang make cmake ccache curl unzip git pkg-config mold"
|
||||||
[coverity]="binutils clang make cmake ccache curl unzip git pkg-config file"
|
[coverity]="binutils clang make cmake ccache curl unzip git pkg-config file"
|
||||||
|
[coverity_upload]="curl"
|
||||||
[gcc_preprocess]="
|
[gcc_preprocess]="
|
||||||
binutils
|
binutils
|
||||||
build-essential
|
build-essential
|
||||||
|
Loading…
x
Reference in New Issue
Block a user