Add other Linux builds using configure to GitHub Actions CI

This is almost, although not quite, the same as we do in .travis.yml.

Note that CMake builds are not supported here yet.
This commit is contained in:
Vadim Zeitlin
2021-01-30 21:36:14 +01:00
parent 9e3079a695
commit bc8f766b04

View File

@@ -20,13 +20,53 @@ jobs:
runs-on: ${{ matrix.runner }}
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- name: wxGTK 2 Ubuntu 16.04
runner: ubuntu-16.04
gtk_version: 2
- name: wxGTK 3 Ubuntu 16.04 static
runner: ubuntu-16.04
configure_flags: --disable-shared
- name: wxGTK 2 UTF-8 Ubuntu 18.04
runner: ubuntu-18.04
gtk_version: 2
configure_flags: --enable-utf8 --enable-utf8only --enable-monolithic
- name: wxGTK 3 STL Ubuntu 18.04
runner: ubuntu-18.04
configure_flags: --enable-cxx11 --enable-stl --disable-compat30
- name: wxGTK 3 Ubuntu 18.04 with clang
runner: ubuntu-18.04
compiler: clang
configure_flags: --disable-sys-libs --with-libcurl
- name: wxGTK ANSI Ubuntu 20.04
runner: ubuntu-20.04
configure_flags: --disable-unicode
skip_samples: true
- name: wxGTK Ubuntu 20.04 with ASAN
runner: ubuntu-20.04
configure_flags: --disable-compat30 --disable-sys-libs --with-libcurl
skip_samples: true
use_asan: true
- name: wxX11 Ubuntu 18.04
runner: ubuntu-18.04
configure_flags: --with-x11 --enable-pch --disable-stc
skip_samples: true
- name: wxDFB Ubuntu 18.04
runner: ubuntu-18.04
configure_flags: --with-directfb --enable-pch --disable-stc
skip_samples: true
allow_warnings: true
- name: wxMotif Ubuntu 18.04
runner: ubuntu-18.04
configure_flags: --with-motif --enable-pch --disable-stc
skip_samples: true
- name: wxQt Ubuntu 18.04
runner: ubuntu-18.04
configure_flags: --with-qt --enable-pch --without-opengl
skip_samples: true
env:
wxGTK_VERSION: ${{ matrix.gtk_version && matrix.gtk_version || 3 }}
wxCONFIGURE_FLAGS: ${{ matrix.configure_flags }}