[CI] add tests on latest haxe + hashlink #262
Workflow file for this run
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: CI | |
on: | |
push: | |
# This should disable running the workflow on tags | |
branches: | |
- "**" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: krdlab/setup-haxe@v1 | |
- name: Print haxe version | |
run: haxe -version | |
- name: Install haxelib dependencies | |
run: | | |
haxelib git format https://github.com/HaxeFoundation/format.git | |
haxelib git hscript https://github.com/HaxeFoundation/hscript.git | |
haxelib install vshaxe | |
haxelib install vscode | |
haxelib install vscode-debugadapter | |
- name: Build extension | |
run: make build | |
- name: Build standalone adapter.js | |
run: haxe build.hxml | |
- name: Build CLI hl | |
run: | | |
cd debugger | |
haxe debugger.hxml | |
cd .. | |
build_and_test_nightly: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: krdlab/setup-haxe@v1 | |
with: | |
haxe-version: latest | |
- name: Print haxe version | |
run: haxe -version | |
- name: Install haxelib dependencies | |
run: | | |
haxelib git format https://github.com/HaxeFoundation/format.git | |
haxelib git hscript https://github.com/HaxeFoundation/hscript.git | |
haxelib install vshaxe | |
haxelib install vscode | |
haxelib install vscode-debugadapter | |
- name: Build extension | |
run: make build | |
- name: Build standalone adapter.js | |
run: haxe build.hxml | |
- name: Build CLI hl | |
run: | | |
cd debugger | |
haxe debugger.hxml | |
cd .. | |
- name: Install hl | |
run: | | |
git clone https://github.com/HaxeFoundation/hashlink.git hashlink | |
sudo apt-get install -qqy libpng-dev libturbojpeg-dev libvorbis-dev libopenal-dev libsdl2-dev libglu1-mesa-dev libmbedtls-dev libuv1-dev libsqlite3-dev | |
cd hashlink | |
make | |
sudo make install | |
hl --version | |
cd .. | |
- name: Run tests | |
run: | | |
cd tests | |
haxe RunCi.hxml | |
cd .. |