-
-
Notifications
You must be signed in to change notification settings - Fork 12
37 lines (28 loc) · 1011 Bytes
/
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
name: Build
on: [push, repository_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
haxe-version: [4.3.0, 4.3.1]
steps:
- uses: actions/checkout@v1
- name: Setup Haxe (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }})
uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe-version }}
- name: Setup app (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
git clone --branch master https://github.com/HeapsIO/heaps.git
haxelib dev heaps heaps
haxelib install hlsdl
mkdir res
- name: Build app (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }})
run: |
cp .github/workflows/build.hxml build.hxml
haxelib install build.hxml --always --quiet
haxe build.hxml