[ci] set haxe version to v4.3.6 #55
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: test | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
haxe: | |
- latest | |
- 4.3.6 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install haxe ${{ matrix.haxe }} | |
uses: krdlab/[email protected] | |
with: | |
haxe-version: ${{ matrix.haxe }} | |
- run: haxe --version | |
- name: Install haxelibs | |
run: | | |
haxelib git sasl https://github.com/tong/hxsasl | |
haxelib dev hxmpp . | |
haxelib install test.hxml --always | |
haxelib install hxcpp | |
haxelib install hxcs | |
haxelib install hxjava | |
haxelib install hxnodejs | |
haxelib install utest | |
- name: Run unit tests | |
run: haxe test.hxml | |
- name: Build unit tests (hl) | |
run: haxe --cwd test build-hl.hxml | |
- name: Build unit tests (jvm) | |
run: haxe --cwd test build-jvm.hxml | |
- name: Build unit tests (lua) | |
run: haxe --cwd test build-lua.hxml | |
- name: Build unit tests (neko) | |
run: haxe --cwd test build-neko.hxml | |
- name: Build unit tests (nodejs) | |
run: haxe --cwd test build-nodejs.hxml | |
- name: Build unit tests (php) | |
run: haxe --cwd test build-php.hxml | |
- name: Build unit tests (python) | |
run: haxe --cwd test build-python.hxml | |
- name: Build unit tests (cpp) | |
run: haxe --cwd test build-cpp.hxml | |
- name: Build haxedoc.xml | |
run: haxe haxedoc.hxml | |
# - name: Build example [node] | |
# run: haxe --cwd example node.hxml | |
# - name: Build example [hl] | |
# run: haxe --cwd example hl.hxml |