Skip to content

Commit

Permalink
actions: build with Haxe matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed May 17, 2024
1 parent 3d32f8d commit 4861596
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

jobs:
build:
haxelib-and-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -29,7 +29,6 @@ jobs:
run: |
haxelib install dox --quiet
haxelib install hxargs --quiet
haxelib install hxcpp --quiet
haxelib dev snake-server ${{ github.workspace }}
- name: Build API reference
working-directory: scripts
Expand All @@ -45,6 +44,20 @@ jobs:
with:
branch: gh-pages
folder: bin/api
build:
matrix:
haxe-version: [4.1.5, 4.2.5, 4.3.4]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe-version }}
- name: Set up Haxelib dependencies
run: |
haxelib install hxargs --quiet
haxelib install hxcpp --quiet
haxelib dev snake-server ${{ github.workspace }}
- name: Build targets
run: |
haxe neko.hxml
Expand Down

0 comments on commit 4861596

Please sign in to comment.