-
Notifications
You must be signed in to change notification settings - Fork 5
60 lines (48 loc) · 1.2 KB
/
main.yml
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
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_ubuntu:
runs-on: ubuntu-latest
name: Test on Ubuntu (GCC)
steps:
- uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.3.0
- name: Checkout
uses: actions/checkout@v3
- name: Setup GCC
uses: egor-tensin/setup-gcc@v1
with:
version: latest
platform: x64
- name: Install & Check Haxe
run: haxe -version
- name: Install Reflaxe
run: haxelib git reflaxe https://github.com/SomeRanDev/reflaxe.git
- name: Run Tests
run: haxe Test.hxml
build_windows:
runs-on: windows-2019
name: Test on Windows (VS)
steps:
- uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.3.0
- name: Checkout
uses: actions/checkout@v3
- name: Setup VS
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
vsversion: "2019"
- name: Install & Check Haxe
run: haxe -version
- name: Install Reflaxe
run: haxelib git reflaxe https://github.com/SomeRanDev/reflaxe.git
- name: Run Tests
run: haxe Test.hxml