mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
ci: Make the coverage build happen in the coverage target
Use a specific build for it, instead of making the default test-mutter target prepare that in advance, just in case. Bypasses errors with recent meson when making coverage builds (although it'd still happen if the stage were run manually).
This commit is contained in:
parent
0aa4bab539
commit
5aeb8ff6a6
@ -18,7 +18,7 @@ check-commit-log:
|
|||||||
build-mutter:
|
build-mutter:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- meson . build -Dbuildtype=debugoptimized -Db_coverage=true -Degl_device=true -Dwayland_eglstream=true --werror --prefix /usr
|
- meson . build -Dbuildtype=debugoptimized -Degl_device=true -Dwayland_eglstream=true --werror --prefix /usr
|
||||||
- ninja -C build
|
- ninja -C build
|
||||||
- ninja -C build install
|
- ninja -C build install
|
||||||
artifacts:
|
artifacts:
|
||||||
@ -85,11 +85,12 @@ test-mutter-coverage:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- test-mutter
|
- test-mutter
|
||||||
script:
|
script:
|
||||||
- ninja -C build coverage
|
- meson . coverage-build -Dbuildtype=debugoptimized -Db_coverage=true -Degl_device=true -Dwayland_eglstream=true --werror --prefix /usr
|
||||||
- cat build/meson-logs/coverage.txt
|
- ninja -C coverage-build coverage
|
||||||
|
- cat coverage-build/meson-logs/coverage.txt
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/meson-logs
|
- coverage-build/meson-logs
|
||||||
when: manual
|
when: manual
|
||||||
except:
|
except:
|
||||||
refs:
|
refs:
|
||||||
|
Loading…
Reference in New Issue
Block a user