Closed joshtynjala closed 1 year ago
FYI, after a little messing around i managed to exclude just windows + 3.4.7 from my matrix with something along the lines of:
if: ${{ !(matrix.os == 'windows-latest' && matrix.haxe-version == '3.4.7') }}
Seems to work nicely, heres the full action for completeness:
name: Build (all platforms, all haxe versions)
on: [push, repository_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
haxe-version: [3.4.7, 4.0.5, 4.1.5, 4.2.2]
steps:
- uses: actions/checkout@v1
- name: Setup Haxe (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }})
if: ${{ !(matrix.os == 'windows-latest' && matrix.haxe-version == '3.4.7') }}
uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe-version }}
- name: Build app (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }})
if: ${{ !(matrix.os == 'windows-latest' && matrix.haxe-version == '3.4.7') }}
run: |
git clone --branch master https://github.com/haxeui/haxeui-core.git --depth=1
haxelib dev haxeui-core haxeui-core
haxelib install build.hxml --always --quiet
haxe build.hxml
EDIT:
there is a much cleaner way pointed out to me:
...
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
haxe-version: [3.4.7, 4.0.5, 4.1.5, 4.2.2]
exclude:
- os: windows-latest
haxe-version: 3.4.7
...
The problem is, that Haxe 3.x is not compatible with Neko 2.3, so the fix is to install Neko 2.1 for Haxe 3.x.
@joshtynjala I think you can close this issue now :-)
Great! Thanks.
Here's the raw log from my run:
In particular, there's this error at the end:
Haxe 4.0.5 and 4.1.2 seem to be working correctly on Windows, so it's just a problem with 3.4.7, I guess.