Skip to content

Commit f0f98a9

Browse files
authored
Update main.yml
1 parent d71eedc commit f0f98a9

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,36 @@
11
name: CI
22

3-
on: [push, pull_request, workflow_dispatch, repository_dispatch]
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
repository_dispatch:
48

59
jobs:
610
build:
711
strategy:
812
matrix:
9-
haxe-version: ["4.0.5", stable, nightly]
10-
target: [html5, hl, neko, flash]
11-
exclude:
12-
- {haxe-version: nightly, target: html5}
13+
haxe-version: ["4.2.5", "4.3.4"]
14+
target: [html5, hl, neko, flash, cpp]
1315
fail-fast: false
1416
runs-on: ubuntu-latest
1517
steps:
16-
- uses: lix-pm/setup-lix@master
17-
- uses: actions/checkout@v2
18-
- run: haxelib dev flixel-tools .
19-
- uses: HaxeFlixel/setup-flixel@master
18+
- run: sudo apt-get update
19+
20+
- uses: actions/checkout@v3
21+
22+
- uses: krdlab/setup-haxe@v1
2023
with:
2124
haxe-version: ${{matrix.haxe-version}}
25+
26+
- name: "Configure Haxelib"
27+
run: |
28+
haxelib setup /home/runner/haxe/haxelib/
29+
haxelib install haxelib 4.0.3
30+
haxelib dev flixel-tools .
31+
32+
- uses: HaxeFlixel/setup-flixel@master
33+
with:
2234
flixel-versions: dev
2335
target: ${{matrix.target}}
24-
- run: |
25-
cd ${{env.HAXELIB_REPO}}/flixel-tools/git
26-
npm install
27-
cd ..
28-
haxelib run flixel-tools tpl -n "default"
29-
cd default
30-
haxelib run lime build ${{matrix.target}}
36+
run-tests: true

0 commit comments

Comments
 (0)