diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-05-30 18:48:31 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-05-30 18:48:31 +0200 |
commit | 8b9ae5895573f81f9b5eb5ce6a87bbff930fa149 (patch) | |
tree | 60b754c8749b09d36f394da5eb400932dcc83c7e /.github | |
parent | e74d7f507ed1ea3c7d6533f5d29d1adeed5d2da4 (diff) | |
download | sciteco-8b9ae5895573f81f9b5eb5ce6a87bbff930fa149.tar.gz |
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.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/continuous-integration.yml | 14 |
1 files changed, 9 insertions, 5 deletions
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 |