diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c30e635..cc170af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,13 +121,14 @@ jobs: curl -L https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.3/wxWidgets-3.2.3.tar.bz2 -o wxWidgets-3.2.3.tar.bz2 ls tar jxf wxWidgets-3.2.3.tar.bz2 - cd wxWidgets-3.2.3/build - ../configure --prefix=${WXMSW3} --enable-stl=yes --enable-shared=no --disable-debug_flag --with-cocoa --enable-universal_binary=x86_64,arm64 --enable-unicode --enable-webview --disable-mediactrl --with-cxx=11 --with-macosx-version-min=10.15 --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin + cd wxWidgets-3.2.3 + ./configure --prefix=$HOME/wx-3.2.3 --enable-stl=yes --enable-shared=no --disable-debug_flag --with-cocoa --enable-universal_binary=x86_64,arm64 --enable-unicode --enable-webview --disable-mediactrl --with-cxx=11 --with-macosx-version-min=10.15 --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin make make install - sudo ln -s ${WXMSW3}/bin/wx-config /usr/local/bin/wx-config-3 - ls ${WXMSW3}/bin/ + sudo ln -s $HOME/wx-3.2.3/bin/wx-config /usr/local/bin/wx-config-3 + ls $HOME/wx-3.2.3/bin wx-config-3 --cflags + echo ${HOME}/wx-3.2.3/bin >> $GITHUB_PATH - name: Setup cmake uses: jwlawson/actions-setup-cmake@v2 @@ -139,8 +140,8 @@ jobs: - name: Build LK run: | - cmake -Bbuild_linux -DCMAKE_BUILD_TYPE=Debug - cmake --build build_linux -- -j + cmake -Bbuild_linux -DCMAKE_BUILD_TYPE=Release + cmake --build build_linux -- -j -j 4 - name: Save static lib & lksandbox uses: actions/upload-artifact@v2