mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2026-05-02 11:57:58 +02:00
ci: Run tests with tmpdir in the build tree
This should allow using chattr to make files immutable, which only works
on ext{2,3,4} and not tmpfs.
This commit is contained in:
parent
79c7ee282d
commit
b028f276e6
1 changed files with 3 additions and 2 deletions
|
|
@ -22,14 +22,15 @@ build_stable:
|
|||
before_script:
|
||||
- dnf upgrade -y --nogpgcheck fedora-release fedora-repos*
|
||||
- dnf update -y && dnf install -y $DEPENDENCIES
|
||||
- mkdir tmpdir/
|
||||
script:
|
||||
- meson -Dgtk_doc=true -Dpylint=true _build
|
||||
- ninja -v -C _build
|
||||
- ninja -v -C _build install
|
||||
- ninja -v -C _build uninstall
|
||||
- meson test -C _build
|
||||
- TMPDIR=$(pwd)/tmpdir meson test -C _build
|
||||
- .ci/fail_skipped_tests.py _build/meson-logs/testlog.junit.xml
|
||||
- ninja -v -C _build dist
|
||||
- TMPDIR=$(pwd)/tmpdir ninja -v -C _build dist
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue