forked from HaxeFlixel/flixel
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 843 Bytes
/
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
name: CI
on:
push:
pull_request:
workflow_dispatch:
repository_dispatch:
schedule:
- cron: '0 4 * * *'
jobs:
build:
strategy:
matrix:
haxe-version: ["4.2.5", "4.3.4"]
target: [html5, hl, neko, flash, cpp]
fail-fast: false
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update
- uses: actions/checkout@v3
- uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{matrix.haxe-version}}
- name: "Configure Haxelib"
run: |
haxelib setup /home/runner/haxe/haxelib/
haxelib install haxelib 4.0.3
haxelib dev flixel .
- uses: HaxeFlixel/setup-flixel@v1
with:
haxe-version: current
flixel-versions: dev
test-location: local
target: ${{matrix.target}}
run-tests: true