Skip to content

#if hard_loop (test) #18

#if hard_loop (test)

#if hard_loop (test) #18

Workflow file for this run

name: hl
on:
push:
pull_request:
repository_dispatch:
jobs:
run-tests:
uses: vegardit/haxe-reusable-workflows/.github/workflows/test-with-haxe.yml@v1
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
haxe:
- 4.2.5
with:
runner-os: ${{ matrix.os }}
haxe-version: ${{ matrix.haxe }}
haxe-libs: |
utest
hxnodejs
test-hl: tests/common.hxml --class-path tests
before-tests: |
git clone https://github.com/core-haxe/promises
haxelib dev promises promises
git clone https://github.com/core-haxe/logging
haxelib dev logging logging
git clone https://github.com/core-haxe/websockets
haxelib dev websockets websockets
cd tests
haxe build-servers.hxml
cd ..
cd tests/build/nodejs
cp ../../package.json .
npm install
cd ../../..
if [[ "${{ matrix.os }}" == ubuntu* ]]; then sudo apt-get -y install libpng-dev libturbojpeg-dev libvorbis-dev libopenal-dev libsdl2-dev libmbedtls-dev libuv1-dev; fi