Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli authored Nov 22, 2023
1 parent cffaaed commit 39c46b7
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,38 @@
name: CI

on: [push, pull_request, workflow_dispatch, repository_dispatch]
on:
push:
pull_request:
workflow_dispatch:
repository_dispatch:

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:
- uses: lix-pm/setup-lix@master
- uses: actions/checkout@v2
- run: haxelib dev flixel-addons .
- uses: HaxeFlixel/setup-flixel@master
- 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@master
with:
haxe-version: current
flixel-versions: dev
test-location: local
target: ${{matrix.target}}
run-tests: true

0 comments on commit 39c46b7

Please sign in to comment.