-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (59 loc) · 1.96 KB
/
mac.yml
File metadata and controls
61 lines (59 loc) · 1.96 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
59
60
61
name: Mac CI
on:
workflow_dispatch:
workflow_call:
env:
HAXE_VERSION: 4.3.7
jobs:
mac:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup Haxe
uses: ShadowEngineTeam/setup-haxe@main
with:
haxe-version: ${{ env.HAXE_VERSION }}
- name: Set HAXEPATH
run: echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV
- name: Install Haxe dependencies
run: |
haxelib git hxcpp https://github.com/ShadowEngineTeam/hxcpp --quiet
haxelib git format https://github.com/HaxeFoundation/format 9d69fb342d030fa120d2deafafbbffad248332b8 --quiet
haxelib git hxp https://github.com/openfl/hxp 47ef5ae6569cb0961761a2fbb416694df067124c --quiet
- name: Enable HXCPP compile cache
run: echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
- name: Configure Lime
run: haxelib dev lime ${{ github.workspace }}
- name: Rebuild Lime
run: |
# haxelib run lime rebuild mac -32 -release -nocolor -nocffi -D HXCPP_M32
haxelib run lime rebuild mac -64 -release -nocolor -nocffi -D HXCPP_M64
haxelib run lime rebuild mac -arm64 -release -nocolor -nocffi -D HXCPP_ARM64
# - name: Upload Artifact (x86)
# uses: actions/upload-artifact@main
# with:
# name: Mac-NDLL
# path: |
# ndll/Mac/
# !**/.gitignore
# lime.png
# if-no-files-found: error
- name: Upload Artifact (x86_64)
uses: actions/upload-artifact@main
with:
name: Mac64-NDLL
path: |
ndll/Mac64/
!**/.gitignore
lime.png
if-no-files-found: error
- name: Upload Artifact (arm64)
uses: actions/upload-artifact@main
with:
name: MacArm64-NDLL
path: |
ndll/MacArm64/
!**/.gitignore
lime.png
if-no-files-found: error