From 526027040798e1ffc1894f559854f69657239aea Mon Sep 17 00:00:00 2001 From: George Kurelic Date: Tue, 28 Nov 2023 13:52:28 -0600 Subject: [PATCH] Fix CI --- .github/workflows/main.yml | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 337b4f466..93d6abc80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,22 +1,37 @@ 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-demos . - - 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-demos . + + - uses: HaxeFlixel/setup-flixel@master + with: + haxe-version: current flixel-versions: dev target: ${{matrix.target}} run-tests: true