forked from openfl/lime
-
Notifications
You must be signed in to change notification settings - Fork 4
58 lines (48 loc) · 1.47 KB
/
mac.yml
File metadata and controls
58 lines (48 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Mac CI
on:
workflow_dispatch:
workflow_call:
jobs:
mac:
runs-on: macos-26
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
submodules: true
- name: Setup Haxe
uses: krdlab/setup-haxe@master
with:
haxe-version: 4.3.7
- name: Set HAXEPATH
run: echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV
- name: Install Haxe dependencies
run: |
haxelib git hxcpp https://github.com/CodenameCrew/cne-hxcpp --quiet
haxelib install format --quiet
haxelib install hxp --quiet
- name: Configure Lime
run: |
haxelib dev lime ${{ github.workspace }}
haxelib run lime setup -alias -y -nocffi
haxelib run lime rebuild hxcpp
- name: Remove Previous NDLLs
run: |
rm -rf ./ndll
mkdir ./ndll
- name: Rebuild Lime (x86_64)
run: haxelib run lime rebuild mac -64 -nocolor -eval
- name: Rebuild Lime (ARM64)
run: haxelib run lime rebuild mac -arm64 -nocolor -eval -D HXCPP_ARM64
- name: Upload Artifact (ndll/Mac64)
uses: actions/upload-artifact@v7.0.0
with:
name: Mac64-NDLL
path: ndll/Mac64
if-no-files-found: error
- name: Upload Artifact (ndll/MacArm64)
uses: actions/upload-artifact@v7.0.0
with:
name: MacArm64-NDLL
path: ndll/MacArm64
if-no-files-found: error