summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }}