Skip to content

Commit ac469f9

Browse files
committed
actions: run tests on HashLink
1 parent 1643759 commit ac469f9

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,33 @@ jobs:
1717
!neko-*-*/
1818
!.git/
1919
if-no-files-found: error
20+
21+
unit-test-hashlink:
22+
# AL init fails on both windows and ubuntu
23+
# macos-14 is arm64, which setup-haxe doesn't support yet
24+
runs-on: macos-13
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- uses: krdlab/setup-haxe@v1
29+
with:
30+
haxe-version: 4.3.6
31+
32+
- name: Set HAXEPATH
33+
run: |
34+
echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV
35+
36+
- name: Install Haxe dependencies
37+
run: |
38+
haxelib install lime --quiet
39+
haxelib install openfl --quiet
40+
haxelib install utest --quiet
41+
42+
- name: Setup environment
43+
run: |
44+
haxelib dev svg ${{ github.workspace }}
45+
46+
- name: Run tests on HashLink
47+
working-directory: test
48+
run: |
49+
haxelib run openfl test hl

0 commit comments

Comments
 (0)