From 39aaa62f0082adcf4c4af37a93fe3d65d47b3f03 Mon Sep 17 00:00:00 2001 From: Terry Hearst Date: Fri, 30 Aug 2024 19:13:39 -0400 Subject: [PATCH] Inline script --- .circleci/config.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ea63046c..2a229b60 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -541,15 +541,19 @@ jobs: export LD_LIBRARY_PATH=~/neko cd ~/MBHaxe haxe compile.hxml - cp ~/deps/hashlink/src/hlc_main.c native - ./compile-linux.sh + haxe compile-linux.hxml + cd native + cp ~/deps/hashlink/src/hlc_main.c . + gcc -o marblegame -O2 -I . -L /usr/local/lib marblegame.c /usr/local/lib/{ui.hdll,openal.hdll,fmt.hdll,sdl.hdll,uv.hdll,ssl.hdll,datachannel.hdll} -lSDL2 -lhl -lm -luv + strip marblegame - run: name: Package Bundle command: | mkdir -p ~/MBHaxe-Ultra-Linux cd ~/MBHaxe-Ultra-Linux - cp ~/MBHaxe/marblegame* . + cp ~/MBHaxe/marblegame.hl . + cp ~/MBHaxe/native/marblegame . cp ~/MBHaxe/linux-dist/* . cp -r ~/MBHaxe/data data cp /usr/local/lib/{{fmt,openal,sdl,ssl,ui,uv}.hdll,libhl.so.1.13.0} .