From 0ed45c673d4c65fdceb687a58b0188cc4ea8e515 Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Sat, 31 Aug 2024 12:44:17 +0100 Subject: [PATCH] Include arm64 Cppia binary for mac --- .github/workflows/package.yml | 9 ++++++++- project/compile-cppia-arm64.hxml | 9 --------- project/compile-cppia.hxml | 1 - 3 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 project/compile-cppia-arm64.hxml 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}