Update CI #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request, workflow_dispatch, repository_dispatch] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
haxe-version: ["4.2.5", "4.3.3", latest] | |
target: [html5, hl, neko, flash] | |
exclude: | |
- {haxe-version: nightly, target: html5} | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt-get update | |
- uses: actions/checkout@v3 | |
- run: haxelib dev flixel-templates . | |
- 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@v1 | |
with: | |
haxe-version: current | |
flixel-versions: dev | |
target: ${{matrix.target}} | |
- run: | | |
cd ${{env.HAXELIB_REPO}}/flixel-tools/git | |
npm install | |
cd .. | |
haxelib run flixel-tools tpl -n "default" | |
cd default | |
haxelib run lime build ${{matrix.target}} |