File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,11 @@ jobs:
337337 uses : rlalik/setup-cpp-compiler@master
338338 with :
339339 compiler : ${{ matrix.compiler }}
340+ - name : Setup emsdk
341+ uses : mymindstorm/setup-emsdk@v14
342+ with :
343+ version : 3.1.51
344+ actions-cache-folder : ' emsdk-cache'
340345 - name : Symlink gcc-14 due to the default /usr/local/bin/gcc links to system's clang
341346 run : |
342347 ln -s /opt/homebrew/opt/gcc/bin/gcc-14 /usr/local/bin/gcc-14
@@ -347,6 +352,23 @@ jobs:
347352 make artifact
348353 make ENABLE_SYSTEM=1 artifact
349354 make ENABLE_ARCH_TEST=1 artifact
355+ # Hack Cloudflare 403 Forbidden on GitHub Runner for Doom artifact download
356+ wget --header="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Safari/605.1.15" \
357+ --header="Referer: https://www.doomworld.com/" \
358+ --header="Accept-Language: en-US,en;q=0.9" \
359+ -O build/shareware_doom_iwad.zip \
360+ "https://www.doomworld.com/3ddownloads/ports/shareware_doom_iwad.zip"
361+ unzip -d build/ build/shareware_doom_iwad.zip
362+ if : ${{ always() }}
363+ - name : default build using emcc
364+ run : |
365+ make CC=emcc -j$(sysctl -n hw.logicalcpu)
366+ if : ${{ always() }}
367+ - name : default build for system emulation using emcc
368+ run : |
369+ make distclean
370+ make CC=emcc ENABLE_SYSTEM=1 -j$(sysctl -n hw.logicalcpu)
371+ make distclean ENABLE_SYSTEM=1
350372 if : ${{ always() }}
351373 - name : check + tests
352374 env :
You can’t perform that action at this time.
0 commit comments