From a0fbe1387faa604b3c243710a0ad79a166c44143 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 30 May 2021 18:22:15 +0200 Subject: continuous-integration.yml: also build and test the Gtk UI on every platform and compiler --- .github/workflows/continuous-integration.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 1a55ba6..f51bcc3 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -12,6 +12,7 @@ jobs: matrix: os: [ubuntu-18.04, ubuntu-20.04] compiler: ['CC=gcc CXX=g++', 'CC=clang CXX=clang++'] + interface: [ncurses, gtk] # NOTE: The virtual environments already contain both GCC and Clang runs-on: ${{ matrix.os }} @@ -28,13 +29,13 @@ jobs: sudo apt-get install -y build-essential autoconf automake libtool - libglib2.0-dev libncurses-dev + libglib2.0-dev libncurses-dev libgtk-3-dev gob2 groff doxygen - name: Configure Build run: | autoreconf -i - ./configure --with-interface=ncurses --enable-html-manual ${{ matrix.compiler }} + ./configure --with-interface=${{ matrix.interface }} --enable-html-manual ${{ matrix.compiler }} - run: make - run: sudo make install @@ -84,6 +85,8 @@ jobs: # FIXME: For doing Windows builds, we need a few manually built packages # (PDCurses, Glib...). # Perhaps they can be uploaded to Sourceforge and simply downloaded here. + # Alternatively, we could manually prepare a Docker container image or + # even build them from scratch here. # - name: Build Windows Bundle # run: ./distribute.mk mingw-binary -- cgit v1.2.3