Merge pull request #1811 from tobil4sk/ci-mac-arm64-ndll
[ci] Add mac arm64 ndll to lime package
This commit is contained in:
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@@ -120,7 +120,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Haxe dependencies
|
- name: Install Haxe dependencies
|
||||||
run: |
|
run: |
|
||||||
haxelib install hxcpp 4.2.1 --quiet
|
curl -LO https://github.com/HaxeFoundation/hxcpp/releases/download/v4.3.45/hxcpp-4.3.45.zip
|
||||||
|
haxelib install ./hxcpp-4.3.45.zip --quiet
|
||||||
haxelib install format --quiet
|
haxelib install format --quiet
|
||||||
haxelib install hxp --quiet
|
haxelib install hxp --quiet
|
||||||
|
|
||||||
@@ -137,6 +138,7 @@ jobs:
|
|||||||
- name: Rebuild Lime (macOS)
|
- name: Rebuild Lime (macOS)
|
||||||
run: |
|
run: |
|
||||||
lime rebuild macos -clean -release -64 -nocolor -verbose -nocffi
|
lime rebuild macos -clean -release -64 -nocolor -verbose -nocffi
|
||||||
|
lime rebuild macos -clean -release -arm64 -nocolor -verbose -nocffi
|
||||||
lime rebuild hl -clean -release -nocolor -verbose -nocffi
|
lime rebuild hl -clean -release -nocolor -verbose -nocffi
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
@@ -147,6 +149,14 @@ jobs:
|
|||||||
!**/.gitignore
|
!**/.gitignore
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: MacArm64-NDLL
|
||||||
|
path: |
|
||||||
|
ndll/MacArm64/
|
||||||
|
!**/.gitignore
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Mac64-Hashlink
|
name: Mac64-Hashlink
|
||||||
@@ -466,6 +476,11 @@ jobs:
|
|||||||
name: Mac64-NDLL
|
name: Mac64-NDLL
|
||||||
path: ndll/Mac64/
|
path: ndll/Mac64/
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: MacArm64-NDLL
|
||||||
|
path: ndll/MacArm64/
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Windows-NDLL
|
name: Windows-NDLL
|
||||||
|
|||||||
0
ndll/MacArm64/.gitignore
vendored
Normal file
0
ndll/MacArm64/.gitignore
vendored
Normal file
@@ -435,6 +435,10 @@ class MacPlatform extends PlatformTarget
|
|||||||
// TODO: Support single binary
|
// TODO: Support single binary
|
||||||
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M64", "-Dhashlink"]);
|
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M64", "-Dhashlink"]);
|
||||||
}
|
}
|
||||||
|
else if (targetFlags.exists("arm64"))
|
||||||
|
{
|
||||||
|
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_ARM64"]);
|
||||||
|
}
|
||||||
else if (!targetFlags.exists("32"))
|
else if (!targetFlags.exists("32"))
|
||||||
{
|
{
|
||||||
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M64"]);
|
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M64"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user