Skip to content

Commit

Permalink
Fix CI (#2971)
Browse files Browse the repository at this point in the history
* test new tests

* add actions/checkout

* move checkout earlier

* use haxelib 4.0.3

* switch over to lix-less actions

* move haxelib dir

* combine run tasks

* try checkout@v3

* add name, spacing and remove old code
  • Loading branch information
Geokureli authored Nov 22, 2023
1 parent 06d8115 commit 07c9bfd
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,28 @@ jobs:
build:
strategy:
matrix:
haxe-version: ["4.2.5", stable, nightly]
haxe-version: ["4.2.5", "4.3.3", latest]
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

- 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@master
with:
haxe-version: current
flixel-versions: dev
test-location: local
target: ${{matrix.target}}
Expand Down

0 comments on commit 07c9bfd

Please sign in to comment.