|
1 | 1 | name: CI |
2 | 2 |
|
3 | | -on: [push, pull_request, workflow_dispatch, repository_dispatch] |
| 3 | +on: |
| 4 | + push: |
| 5 | + pull_request: |
| 6 | + workflow_dispatch: |
| 7 | + repository_dispatch: |
4 | 8 |
|
5 | 9 | jobs: |
6 | 10 | build: |
7 | 11 | strategy: |
8 | 12 | 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] |
13 | 15 | fail-fast: false |
14 | 16 | runs-on: ubuntu-latest |
15 | 17 | 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 |
20 | 23 | with: |
21 | 24 | 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: |
22 | 34 | flixel-versions: dev |
23 | 35 | 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