File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 19
19
jobs :
20
20
macOS :
21
21
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix
22
- runs-on : macos-11
22
+ runs-on : macos-12
23
23
env :
24
24
TARGET_OS : ' macOS'
25
25
TARGET_ARCH : ${{ matrix.arch }}
97
97
98
98
99
99
macCatalyst :
100
- runs-on : macos-11
100
+ runs-on : macos-12
101
101
env :
102
102
TARGET_OS : ' macCatalyst'
103
103
strategy :
@@ -162,7 +162,7 @@ jobs:
162
162
163
163
164
164
iOS :
165
- runs-on : macos-11
165
+ runs-on : macos-12
166
166
env :
167
167
TARGET_OS : iOS
168
168
strategy :
@@ -228,7 +228,7 @@ jobs:
228
228
run : sshpass -p ${SF_PW} scp -o StrictHostKeyChecking=no mdk-sdk-${TARGET_OS}.tar.xz ${SF_USER}@frs.sourceforge.net:/home/frs/project/mdk-sdk/nightly/
229
229
230
230
iOSSimulator :
231
- runs-on : macos-latest
231
+ runs-on : macos-12
232
232
env :
233
233
TARGET_OS : iOSSimulator
234
234
strategy :
@@ -290,7 +290,7 @@ jobs:
290
290
path : mdk-sdk-${{ env.TARGET_OS }}.tar.xz
291
291
292
292
Apple :
293
- runs-on : macos-latest
293
+ runs-on : macos-12
294
294
needs : [macOS, iOS, iOSSimulator, macCatalyst]
295
295
steps :
296
296
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -77,10 +77,6 @@ if [[ "$EXTERNAL_DEP_CACHE_HIT" != "true" ]]; then
77
77
mkdir -p external/lib/sunxi/armv7
78
78
cp -af ${FFPKG} /lib/* external/lib/sunxi/armv7 # single arch package
79
79
elif [ " $TARGET_OS " == " windows-desktop" ]; then
80
- curl -kL -o glfw3.7z https://sourceforge.net/projects/mdk-sdk/files/deps/glfw3.7z/download
81
- 7z x glfw3.7z
82
- cp -af glfw3/include/GLFW external/include/
83
- cp -af glfw3/lib/* external/lib/windows/
84
80
# TODO: download in cmake(if check_include_files failed)
85
81
curl -kL -o vk.zip https://github.com/KhronosGroup/Vulkan-Headers/archive/master.zip
86
82
7z x vk.zip
@@ -96,6 +92,11 @@ if [[ "$EXTERNAL_DEP_CACHE_HIT" != "true" ]]; then
96
92
curl -kL -o external/include/${h} https://www.khronos.org/registry/EGL/api/${h}
97
93
done
98
94
fi
95
+ if [[ " $TARGET_OS " == " win" * || " $TARGET_OS " == " uwp" * || " $TARGET_OS " == macOS || " $TARGET_OS " == " linux" ]]; then
96
+ curl -kL -o dep.7z https://sourceforge.net/projects/mdk-sdk/files/deps/dep.7z/download
97
+ 7z x dep.7z
98
+ cp -af dep/* external/
99
+ fi
99
100
fi
100
101
101
102
if [[ " $SYSROOT_CACHE_HIT " != " true" ]]; then
You can’t perform that action at this time.
0 commit comments