Check STL build in wxMSW cross-compile CI workflow

Use --enable-stl for one of the builds (and also --disable-compat30 just
to test it too) to check that wxMSW compiles correctly in STL mode too.
This commit is contained in:
Vadim Zeitlin
2021-09-22 17:11:32 +02:00
parent fee249f3ae
commit 9e303c5a6b

View File

@@ -58,9 +58,12 @@ jobs:
matrix:
include:
- name: wxMSW 64 bits
configure_flags: --enable-stl --disable-compat30
- name: wxMSW 32 bits
triplet: i686-w64-mingw32
env:
wxCONFIGURE_FLAGS: ${{ matrix.configure_flags }}
# Default to 64-bit build.
HOST_TRIPLET: ${{ matrix.triplet || 'x86_64-w64-mingw32' }}
@@ -144,7 +147,7 @@ jobs:
- name: Configure
run: |
./configure --host=${HOST_TRIPLET} --disable-sys-libs --disable-optimise --disable-debug_info || rc=$?
./configure --host=${HOST_TRIPLET} --disable-sys-libs --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS || rc=$?
if [ -n "$rc" ]; then
echo '*** Configuring failed, contents of config.log follows: ***'