diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-07-10 21:33:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-10 21:33:23 +0200 |
commit | 14fb6354f18a4927213554af0adcff6441354505 (patch) | |
tree | ce0184fa323dc4969d56fb9a7881b9e1015b36c5 /.github/workflows | |
parent | Merge pull request #33559 from YHNdnzj/reenable-now (diff) | |
parent | mkosi: update opensuse commit reference (diff) | |
download | systemd-14fb6354f18a4927213554af0adcff6441354505.tar.xz systemd-14fb6354f18a4927213554af0adcff6441354505.zip |
Merge pull request #33636 from DaanDeMeyer/ext4
Various integration test improvements
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/mkosi.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index 020f763852..d68d26fa55 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -59,40 +59,47 @@ jobs: sanitizers: "" llvm: 0 cflags: "-O2 -D_FORTIFY_SOURCE=3" + relabel: no - distro: debian release: testing sanitizers: "" llvm: 0 cflags: "-Og" + relabel: no - distro: ubuntu release: noble sanitizers: "" llvm: 0 cflags: "-Og" + relabel: no - distro: fedora release: "40" sanitizers: "" llvm: 0 cflags: "-Og" + relabel: yes - distro: fedora release: rawhide sanitizers: address,undefined llvm: 1 cflags: "-Og" + relabel: yes - distro: opensuse release: tumbleweed sanitizers: "" llvm: 0 cflags: "-Og" + relabel: no - distro: centos release: "9" sanitizers: "" llvm: 0 cflags: "-Og" + relabel: yes steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - - uses: systemd/mkosi@6b66aa9096948e0bc38154333687584e0351f450 + - uses: systemd/mkosi@4681dd733a925cd048d0301af26221bce0c95eed # Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space # immediately, we remove the files in the background. However, we first move them to a different location @@ -142,6 +149,8 @@ jobs: LLVM=${{ matrix.llvm }} SYSEXT=1 + SELinuxRelabel=${{ matrix.relabel }} + [Host] QemuMem=4G # We build with debuginfo so there's no point in mounting the sources into the machine. @@ -188,7 +197,7 @@ jobs: -Dvmspawn=enabled - name: Build image - run: meson compile -C build mkosi + run: sudo meson compile -C build mkosi - name: Run integration tests run: sudo --preserve-env meson test -C build --no-rebuild --suite integration-tests --print-errorlogs --no-stdsplit --num-processes "$(($(nproc) - 1))" |