Haxelib #333
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: Unit tests | |
on: | |
push: | |
branches: | |
- master | |
- dev* | |
pull_request: | |
branches: | |
- master | |
- dev* | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [windows-latest] | |
haxe: [4.2.4] | |
fail-fast: true | |
runs-on: windows-latest | |
steps: | |
# Checkout & install haxe | |
- uses: actions/checkout@v2 | |
- uses: krdlab/setup-haxe@v1 | |
with: | |
haxe-version: ${{ matrix.haxe }} | |
- run: haxe -version | |
# Install libs | |
- run: haxelib install tests/js.hxml --always | |
- run: haxelib git deepnightLibs https://github.com/deepnight/deepnightLibs.git | |
- run: haxelib git heaps https://github.com/deepnight/heaps.git | |
- run: haxelib install hlsdl | |
- run: haxelib list | |
# Run tests | |
- name: JS tests | |
run: haxe tests/js.hxml | |
# Samples | |
- name: Samples building | |
working-directory: ./samples/_initSamples | |
run: haxe initSamples.hxml |