Skip to content

Commit

Permalink
mac
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed May 9, 2024
1 parent 6e87277 commit 971f52f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 971f52f

Please sign in to comment.