Skip to content

Commit d7a74f4

Browse files
committed
actions: Neko unit tests
1 parent 00df970 commit d7a74f4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,34 @@ jobs:
5050
path: docs
5151
if-no-files-found: error
5252

53+
unit-test-neko:
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v4
57+
58+
- uses: krdlab/setup-haxe@v1
59+
with:
60+
haxe-version: 4.3.3
61+
62+
- name: Set HAXEPATH
63+
run: |
64+
echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV
65+
66+
- name: Install Haxe dependencies
67+
run: |
68+
haxelib install lime --quiet
69+
haxelib install openfl --quiet
70+
haxelib install utest --quiet
71+
72+
- name: Setup environment
73+
run: |
74+
haxelib dev svg ${{ github.workspace }}
75+
76+
- name: Run tests on Neko
77+
working-directory: test
78+
run: |
79+
haxelib run openfl test neko
80+
5381
unit-test-hashlink:
5482
# AL init fails on both windows and ubuntu
5583
# macos-14 is arm64, which setup-haxe doesn't support yet

0 commit comments

Comments
 (0)