From 8b9ae5895573f81f9b5eb5ce6a87bbff930fa149 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 30 May 2021 18:48:31 +0200 Subject: continuous-integration.yml: fixed building Gtk versions * We need some kind of XServer to run sciteco during the build process and for the test suite, so we have to run everything via xvfb-run. --- .github/workflows/continuous-integration.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to '.github') diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 2026bac..ca56e41 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -31,7 +31,7 @@ jobs: sudo apt-get install -y build-essential autoconf automake libtool - libglib2.0-dev libncurses-dev libgtk-3-dev gob2 + libglib2.0-dev libncurses-dev libgtk-3-dev gob2 xvfb groff doxygen - name: Configure Build @@ -39,15 +39,17 @@ jobs: autoreconf -i ./configure --with-interface=${{ matrix.interface }} --enable-html-manual ${{ matrix.compiler }} - - run: make - - run: sudo make install + # NOTE: xvfb-run emulates an XServer and is required when building + # Gtk versions (since SciTECO calls itself during the build). + - run: xvfb-run make + - run: sudo xvfb-run make install - name: Run Test Suite - run: make check + run: xvfb-run make check - name: Build Developer Documentation run: cd doc && make devdoc # FIXME: Will try to perform an out-of-tree build which will not # work without manual intervention due to Scintilla. -# - run: make distcheck +# - run: xvfb-run make distcheck - name: Build Source Tarball run: make dist @@ -67,6 +69,8 @@ jobs: with: submodules: recursive + - name: Update Repositories + run: sudo apt-get update - name: Install Build Dependencies run: > sudo apt-get install -y -- cgit v1.2.3