-
-
Notifications
You must be signed in to change notification settings - Fork 6
48 lines (41 loc) · 1.43 KB
/
build.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
41
42
43
44
45
46
47
48
name: Build
on: [push, repository_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
haxe-version: [4.0.5, 4.1.5, 4.2.2, 4.3.0, 4.3.1]
target: [linux, mac, windows]
exclude:
- os: ubuntu-latest
target: windows
- os: ubuntu-latest
target: mac
- os: windows-latest
target: linux
- os: windows-latest
target: mac
- os: macos-13
target: linux
- os: macos-13
target: windows
steps:
- uses: actions/checkout@v1
- name: Setup Haxe (${{ matrix.target }}, haxe ${{ matrix.haxe-version }}, ${{ matrix.os }})
uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe-version }}
- name: Setup app (${{ matrix.target }}, haxe ${{ matrix.haxe-version }}, ${{ matrix.os }})
run: |
git clone --branch master https://github.com/haxeui/haxeui-core.git --depth=1
haxelib dev haxeui-core haxeui-core
haxelib dev haxeui-nme .
haxelib install hxcpp --always --quiet
haxelib install actuate --always --quiet
haxelib install nme --always --quiet
- name: Build app (${{ matrix.target }}, haxe ${{ matrix.haxe-version }}, ${{ matrix.os }})
run: |
cd .github/workflows/project
haxelib run nme build ${{ matrix.target }}