This repository was archived by the owner on Aug 28, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
61 lines (54 loc) · 1.51 KB
/
tests.yml
File metadata and controls
61 lines (54 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-neko:
strategy:
matrix:
haxe-version: [4.2.3]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe-version }}
- name: Set up Haxelib dependencies
run: |
haxelib install lime --quiet
haxelib install openfl --quiet
haxelib install feathersui --quiet
haxelib install utest --quiet
haxelib dev feathersui-xml ${{ github.workspace }}
- name: Run Tests
working-directory: test
run: haxelib run openfl test neko
test-air:
strategy:
matrix:
haxe-version: [4.2.3]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: joshtynjala/setup-adobe-air-action@v2
with:
air-version: "33.1"
accept-license: true
- uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe-version }}
- name: Set up Haxelib dependencies
run: |
haxelib install lime --quiet
haxelib install openfl --quiet
haxelib install feathersui --quiet
haxelib install utest --quiet
haxelib dev feathersui-xml ${{ github.workspace }}
haxelib run lime config AIR_SDK ${{ env.AIR_HOME }}
- name: Run Tests
working-directory: test
run: haxelib run openfl test air