forked from openfl/lime
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1.12 KB
/
ios.yml
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
name: iOS CI
on: workflow_dispatch
env:
HAXE_VERSION: 4.2.5
jobs:
ios:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Setup Haxe
uses: krdlab/setup-haxe@v1
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/CodenameCrew/cne-hxcpp --quiet
haxelib install format --quiet
haxelib install hxp --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 ios -release -nocolor -nocffi -eval
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: iPhone-NDLL
path: |
ndll/iPhone/
!**/.gitignore
if-no-files-found: error