File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed
Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 4141 YQ_VERSION : 4.44.6
4242# WAFCACHE: ~/wafcache
4343 WAFCACHE_STATS : 1
44- MSVC_WINE_PATH : /home/runner/msvc
4544 GH_CPU_OS : ${{ matrix.targetos }}
4645 GH_CPU_ARCH : ${{ matrix.targetarch }}
4746 steps :
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ build_with_waf()
2323 python waf --help | grep ' enable-vgui' && WAF_ENABLE_VGUI_OPTION=--enable-vgui
2424 fi
2525
26- if [ " $MSVC_WINE " -ne 0 ]; then
26+ if [ -n " $MSVC_WINE_PATH " ]; then
2727 WAF_ENABLE_MSVC_WINE=--enable-msvc-wine
2828 fi
2929
Original file line number Diff line number Diff line change 33# "booo, bash feature!"
44declare -A TOOLCHAINS
55
6- TOOLCHAINS[i386]=/home/runner /x-tools/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-
7- TOOLCHAINS[amd64]=/home/runner /x-tools/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-
8- TOOLCHAINS[arm64]=/home/runner/ x-tools/arm64 -unknown-linux-gnu/bin/arm64 -unknown-linux-gnu-
9- TOOLCHAINS[armhf]=/home/runner/ x-tools/armhf -unknown-linux-gnu /bin/armhf -unknown-linux-gnu -
6+ TOOLCHAINS[i386]=/opt /x-tools/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-
7+ TOOLCHAINS[amd64]=/opt /x-tools/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-
8+ TOOLCHAINS[arm64]=/opt/ x-tools/aarch64 -unknown-linux-gnu/bin/aarch64 -unknown-linux-gnu-
9+ TOOLCHAINS[armhf]=/opt/ x-tools/arm -unknown-linux-gnueabihf /bin/arm -unknown-linux-gnueabihf -
1010
1111export CROSS_COMPILE=${TOOLCHAINS[$GH_CPU_ARCH]}
1212
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- MSVC_WINE=1
3+ export MSVC_WINE_PATH=/opt/msvc
44
55source scripts/gha/build_common.sh
You can’t perform that action at this time.
0 commit comments