Skip to content

Use Haxe 4.3.4 on CI #271

Use Haxe 4.3.4 on CI

Use Haxe 4.3.4 on CI #271

Workflow file for this run

name: Testing
on:
push:
branches: main
workflow_dispatch:
jobs:
Job:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
sample: [flixel-playback, lime-playback, openfl-playback]
steps:
- name: Checkout
uses: actions/checkout@main
with:
submodules: true
- name: Setup Haxe
uses: krdlab/setup-haxe@master
with:
haxe-version: 4.3.4
- name: Installing Dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libvlc-dev libvlccore-dev
- name: Installing Haxe Libraries
run: |
haxelib install hxcpp --quiet
haxelib install lime --quiet
haxelib install openfl --quiet
haxelib install flixel --quiet
haxelib git hxCodec https://github.com/polybiusproxy/hxCodec.git ${{github.ref_name}} --quiet
- name: Building Windows
if: matrix.os == 'windows-latest'
run: cd samples/${{matrix.sample}} && haxelib run lime build windows -debug
- name: Building MacOS
if: matrix.os == 'macos-latest'
run: cd samples/${{matrix.sample}} && haxelib run lime build mac -debug
- name: Building Linux
if: matrix.os == 'ubuntu-latest'
run: cd samples/${{matrix.sample}} && haxelib run lime build linux -debug