summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorOz Tiram <[email protected]>2025-12-23 23:27:47 +0100
committerLuke from DC <[email protected]>2025-12-24 06:27:23 +0000
commitd2e495f16b1f3e57fdb621cd7668bff388d06b6a (patch)
tree55111780b657496d0e8a9617bb926d0dbc399e84 /.github/workflows
parentf6670976acc29786331e98743598e3323de4dc55 (diff)
downloadatril-d2e495f16b1f3e57fdb621cd7668bff388d06b6a.tar.bz2
atril-d2e495f16b1f3e57fdb621cd7668bff388d06b6a.tar.xz
build: disable DVI on fedora:latest and ubuntu:rolling
Signed-off-by: Oz Tiram <[email protected]>
Diffstat (limited to '.github/workflows')
-rwxr-xr-x.github/workflows/builds.sh2
-rw-r--r--.github/workflows/builds.yml11
2 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/builds.sh b/.github/workflows/builds.sh
index 693082be..262f568d 100755
--- a/.github/workflows/builds.sh
+++ b/.github/workflows/builds.sh
@@ -19,7 +19,7 @@ infoend() {
if [[ -f meson.build && $1 == "meson" ]]; then
infobegin "Configure (meson)"
- meson setup _build --prefix=/usr
+ meson setup _build --prefix=/usr ${DVI_OPTION}
infoend
infobegin "Build (meson)"
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index ba8b6ae8..81c9ea73 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -105,5 +105,16 @@ jobs:
run: .github/workflows/mate-desktop.sh ${{env.MATE_DESKTOP_VERSION}} ${{ env.CACHE_PATH }}
# INFO: M-C-C depends mate-desktop 1.27.1+, install finished.
+
+ - name: Disable DVI on ubunut and fedora latest
+ run: |
+ if [[ "${{ matrix.container }}" == "fedora:latest" ]] || [[ "${{ matrix.container }}" == "ubuntu:rolling" ]]; then
+ echo "DVI_OPTION=-Ddvi=disabled" >> $GITHUB_ENV
+ echo "Disabling DVI backend on ${{ matrix.container }}"
+ else
+ echo "DVI_OPTION=" >> $GITHUB_ENV
+ echo "Building with DVI backend on ${{ matrix.container }}"
+ fi
+
- name: Build the source code
run: .github/workflows/builds.sh ${{ matrix.build-system }}