Skip to content

Commit

Permalink
actions: neko and hashlink tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Nov 15, 2023
1 parent f5b82e7 commit 751e871
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,70 @@ jobs:
npm install
npm run build
unit-test-neko:
strategy:
matrix:
haxe-version: [3.4.7, 4.0.5, 4.1.5, 4.2.5, 4.3.1]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe-version }}

- name: Set HAXEPATH
run: |
echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV
- name: Install Haxe dependencies
run: |
haxelib install lime --quiet
haxelib install openfl --quiet
haxelib install utest --quiet
haxelib install hamcrest --quiet
- name: Setup environment
run: |
haxelib dev starling $GITHUB_WORKSPACE
- name: Run tests on Neko
run: |
haxelib run openfl test neko
unit-test-hashlink:
strategy:
matrix:
# HashLink is not supported by Haxe 3
haxe-version: [4.0.5, 4.1.5, 4.2.5, 4.3.2]
# AL init fails on both windows and ubuntu
runs-on: macos-latest
steps:
- uses: actions/checkout@v3

- uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe-version }}

- name: Set HAXEPATH
run: |
echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV
- name: Install Haxe dependencies
run: |
haxelib install lime --quiet
haxelib install openfl --quiet
haxelib install utest --quiet
haxelib install hamcrest --quiet
- name: Setup environment
run: |
haxelib dev starling $GITHUB_WORKSPACE
- name: Run tests on HashLink
run: |
haxelib run openfl test hl
unit-test-air:
strategy:
matrix:
Expand Down

0 comments on commit 751e871

Please sign in to comment.