forked from HaxeFlixel/flixel
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (54 loc) · 1.39 KB
/
main.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
49
50
51
52
53
54
55
56
57
name: CI
on:
push:
pull_request:
workflow_dispatch:
repository_dispatch:
schedule:
- cron: '0 4 * * *'
jobs:
build:
strategy:
matrix:
haxe-version: ["4.2.5", stable, nightly]
target: [html5, hl, neko, flash, cpp]
fail-fast: false
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update
- uses: lix-pm/setup-lix@master
- uses: actions/checkout@v2
- run: haxelib dev flixel .
- uses: HaxeFlixel/setup-flixel@master
with:
haxe-version: ${{matrix.haxe-version}}
flixel-versions: dev
test-location: local
target: ${{matrix.target}}
run-tests: true
sans-lix:
strategy:
matrix:
haxe-version: ["4.2.5", "4.3.3", latest]
target: [html5] #just html for testing
# target: [html5, hl, neko, flash, cpp]
fail-fast: false
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update
- uses: actions/checkout@v2
# - uses: actions/checkout@v3
# with:
# submodules: true
- uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{matrix.haxe-version}}
- run: haxelib install haxelib 4.0.3
- run: haxelib dev flixel .
- uses: HaxeFlixel/setup-flixel@master
with:
haxe-version: current
flixel-versions: dev
test-location: local
target: ${{matrix.target}}
run-tests: true