File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 2222
2323set -e
2424
25- export MAKEFLAGS=-j$( getconf _NPROCESSORS_ONLN)
25+ MAKEFLAGS=-j$( getconf _NPROCESSORS_ONLN)
26+ export MAKEFLAGS
2627
2728if [ -z " $WXWIDGETS_VERSION " ]; then
28- WXWIDGETS_VERSION=3.1.5
29+ # Value is set in .github/workflows/main.yaml for MacOS only, this here is the fallback value
30+ WXWIDGETS_VERSION=3.2.8.1
2931fi
3032
31- vsn=$WXWIDGETS_VERSION
32- curl --fail -LO https://github.com/wxWidgets/wxWidgets/releases/download/v$vsn /wxWidgets-$vsn .tar.bz2
33- tar -xf wxWidgets-$vsn .tar.bz2
34- mv wxWidgets-$vsn / wxWidgets
33+ WX_SELECTED_VERSION=${WXWIDGETS_VERSION}
34+ WX_DOWNLOAD_URL=https://github.com/wxWidgets/wxWidgets/releases/download/v${WX_SELECTED_VERSION} /wxWidgets-${WX_SELECTED_VERSION} .tar.bz2
35+ echo " Downloading WxWidgets from ${WX_DOWNLOAD_URL} "
36+ curl --fail -LO " ${WX_DOWNLOAD_URL} "
37+ tar -xf " wxWidgets-${WX_SELECTED_VERSION} .tar.bz2"
38+ mv " wxWidgets-${WX_SELECTED_VERSION} /" wxWidgets
3539
3640cd wxWidgets
3741./configure \
3842 --disable-shared \
39- --prefix=$ PWD /release \
43+ --prefix=" ${ PWD} /release" \
4044 --with-cocoa \
4145 --with-macosx-version-min=10.15 \
42- --disable-sys-libs
46+ --with-libtiff=builtin
47+ # --disable-sys-libs
48+
4349make
4450make install
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ jobs:
194194 needs : pack
195195 if : needs.pack.outputs.build-c-code == 'true'
196196 env :
197- WXWIDGETS_VERSION : 3.2.6
197+ WXWIDGETS_VERSION : 3.2.8.1
198198 MACOS_VERSION : 15
199199 steps :
200200 -
uses :
actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/[email protected]
You can’t perform that action at this time.
0 commit comments