File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 22
22
23
23
set -e
24
24
25
- export MAKEFLAGS=-j$( getconf _NPROCESSORS_ONLN)
25
+ MAKEFLAGS=-j$( getconf _NPROCESSORS_ONLN)
26
+ export MAKEFLAGS
26
27
27
28
if [ -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
29
31
fi
30
32
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
35
39
36
40
cd wxWidgets
37
41
./configure \
38
42
--disable-shared \
39
- --prefix=$ PWD /release \
43
+ --prefix=" ${ PWD} /release" \
40
44
--with-cocoa \
41
- --with-macosx-version-min=10.15
45
+ --with-macosx-version-min=10.15 \
46
+ --with-libtiff=builtin
42
47
# --disable-sys-libs
43
48
44
49
make
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ jobs:
194
194
needs : pack
195
195
if : needs.pack.outputs.build-c-code == 'true'
196
196
env :
197
- WXWIDGETS_VERSION : 3.2.6
197
+ WXWIDGETS_VERSION : 3.2.8.1
198
198
MACOS_VERSION : 15
199
199
steps :
200
200
-
uses :
actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/[email protected]
You can’t perform that action at this time.
0 commit comments