mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix CI
This commit is contained in:
parent
67db795368
commit
5bd92b2312
1 changed files with 3 additions and 3 deletions
|
|
@ -182,8 +182,8 @@ jobs:
|
|||
command: |
|
||||
mkdir -p ~/deps
|
||||
cd ~/deps
|
||||
curl https://dist.libuv.org/dist/v1.44.2/libuv-v1.44.2.tar.gz | tar xz
|
||||
cd libuv-v1.44.2
|
||||
curl -fsSL https://github.com/libuv/libuv/archive/refs/tags/v1.44.2.tar.gz | tar xz
|
||||
cd libuv-1.44.2
|
||||
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15" -DCMAKE_MACOSX_RPATH=TRUE
|
||||
cmake --build build --config Release -j$NPROC
|
||||
sudo cmake --install build
|
||||
|
|
@ -238,7 +238,7 @@ jobs:
|
|||
haxe compile-macos.hxml
|
||||
cd native
|
||||
cp ~/deps/hashlink/src/hlc_main.c .
|
||||
clang -mmacosx-version-min=10.15 -arch x86_64 -arch arm64 -o marblegame -I . -L /usr/local/lib/ -std=c11 marblegame.c /usr/local/lib/{ui.hdll,openal.hdll,fmt.hdll,sdl.hdll,uv.hdll,ssl.hdll} -lsdl2 -lhl
|
||||
clang -mmacosx-version-min=10.15 -arch x86_64 -arch arm64 -o marblegame -I . -L /usr/local/lib/ -std=c11 marblegame.c /usr/local/lib/{ui.hdll,openal.hdll,fmt.hdll,sdl.hdll,uv.hdll,ssl.hdll} -lsdl2 -lhl -luv
|
||||
|
||||
- run:
|
||||
name: Package app bundle
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue