diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index ead482b54..921605b2d 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -41,7 +41,13 @@ jobs: run: | cd project haxe compile-cppia.hxml -D HXCPP_M64 - + + - name: Build Cppia Arm64 + if: startsWith(matrix.os,'macos') + run: | + cd project + haxe compile-cppia.hxml -D HXCPP_ARM64 + - name: Clean Project if: startsWith(matrix.os,'ubuntu') run: | @@ -88,6 +94,7 @@ jobs: name: mac-64 path: | bin/Mac64/Cppia + bin/MacArm64/Cppia Release: needs: Package diff --git a/project/compile-cppia-arm64.hxml b/project/compile-cppia-arm64.hxml deleted file mode 100644 index cf0c87712..000000000 --- a/project/compile-cppia-arm64.hxml +++ /dev/null @@ -1,9 +0,0 @@ --main cpp.cppia.Host --D scriptable --D dll_export= --dce no --cpp cppia_bin --D HXCPP_ARM64 --D HXCPP_CATCH_SEGV --D hxcpp_smart_strings --D destination=../../bin/{BINDIR}/Cppia{EXESUFFIX} diff --git a/project/compile-cppia.hxml b/project/compile-cppia.hxml index 81e74a2c8..c0d0a6c33 100644 --- a/project/compile-cppia.hxml +++ b/project/compile-cppia.hxml @@ -3,7 +3,6 @@ -D dll_export= -dce no -cpp cppia_bin --D HXCPP_M64 -D HXCPP_CATCH_SEGV -D hxcpp_smart_strings -D destination=../../bin/{BINDIR}/Cppia{EXESUFFIX}