diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-05-30 18:22:15 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-05-30 18:22:15 +0200 |
commit | a0fbe1387faa604b3c243710a0ad79a166c44143 (patch) | |
tree | de8ea6160771df0082bacc1c87a864d74b5fa19e /.github | |
parent | e3b2bb78e19b155a46379b64dcc13699399a32cc (diff) | |
download | sciteco-a0fbe1387faa604b3c243710a0ad79a166c44143.tar.gz |
continuous-integration.yml: also build and test the Gtk UI on every platform and compiler
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/continuous-integration.yml | 7 |
1 files changed, 5 insertions, 2 deletions
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 |