mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 19:22:11 +01:00
ci: Run scan-build in a different build directory
The build artifacts from earlier jobs in the pipeline all use the `_build` directory. When they are copied in to the scan-build job, they are probably marked as read-only. This means that the `meson scan-build` run can’t write to `_build/meson-logs/meson-log.txt` and fails. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
c11f5321dd
commit
82906e5d5d
@ -255,13 +255,13 @@ scan-build:
|
|||||||
-Ddtrace=true
|
-Ddtrace=true
|
||||||
-Dfam=true
|
-Dfam=true
|
||||||
-Dinstalled_tests=true
|
-Dinstalled_tests=true
|
||||||
_build
|
_scan_build
|
||||||
- ninja -C _build scan-build
|
- ninja -C _scan_build scan-build
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- "_build/meson-logs/scanbuild"
|
- "_scan_build/meson-logs/scanbuild"
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user