From 32f2a679b477453425f064e12a341af52abd9d93 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 26 Jun 2021 12:47:00 +0200 Subject: [PATCH] Add wxMac and wxiOS builds to GitHub CI workflow Run the builds under macOS 10.15. --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b553ffbe96..697e237eb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,6 +92,16 @@ jobs: runner: ubuntu-18.04 configure_flags: --with-qt --enable-pch --without-opengl skip_samples: true + - name: macOS 10.15 wxMac + runner: macos-10.15 + configure_flags: --disable-sys-libs + - name: macOS 10.15 wxiOS + runner: macos-10.15 + configure_flags: --with-osx_iphone --enable-monolithic --disable-sys-libs --host=i686-apple-darwin_sim --build=x86_64-apple-darwin17.7.0 + xcode_sdk: iphonesimulator + skip_samples: true + skip_testing: true + allow_warnings: true env: wxGTK_VERSION: ${{ matrix.gtk_version && matrix.gtk_version || 3 }} @@ -156,6 +166,11 @@ jobs: wxCONFIGURE_OPTIONS="--with-gtk=${{ matrix.gtk_version }} $wxCONFIGURE_OPTIONS" fi + if [ -n "${{ matrix.xcode_sdk }}" ]; then + sdk_path=`xcrun --sdk ${{ matrix.xcode_sdk }} --show-sdk-path` + wxCONFIGURE_OPTIONS="--with-macosx-sdk=$sdk_path $wxCONFIGURE_OPTIONS" + fi + if [ ${{ matrix.use_asan }} ]; then wxASAN_CFLAGS="-fsanitize=address -fno-omit-frame-pointer" wxASAN_CXXFLAGS=$wxASAN_CFLAGS