Repository navigation
58 lines (55 loc) · 1.51 KB
/
Copy pathmain.yml
File metadata and controls
58 lines (55 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
name: CI
on:
push:
branches:
- 'codename-dev' # this is our working branch
- 'feature/**'
- 'overhaul/**'
- 'update/**'
# exclude
- '!master'
- '!custom-classes'
- '!testing'
- '!overflow'
- 'temp-fix'
- '!archive/**'
pull_request:
env:
HAXE_VERSION: 4.3.7
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Pulling the new commit
uses: actions/checkout@v7
- name: Setting up Haxe
uses: krdlab/setup-haxe@v2
with:
haxe-version: ${{ env.HAXE_VERSION }}
- name: Install haxelib dependencies
run: |
haxelib --global update haxelib
haxelib install hx3compat
haxelib dev hscript .
- name: Test interp
run: |
haxe bin/build-interp.hxml
haxe bin/build-interp.hxml -D hscriptPos
- name: Test neko
run: |
haxe bin/build-neko.hxml && neko bin/Test.n
haxe bin/build-neko.hxml -D hscriptPos && neko bin/Test.n
- name: Test js
run: |
haxe bin/build-js.hxml && node bin/Test.js
haxe bin/build-js.hxml -D hscriptPos && node bin/Test.js
# - name: Build hashlink from source
# run: |
# git clone https://github.com/HaxeFoundation/hashlink.git
# cd hashlink
# make hl
# cd ..
# - name: Test hl
# run: |
# haxe bin/build-hl.hxml && ./hashlink/hl bin/Test.hl
# haxe bin/build-hl.hxml -D hscriptPos && ./hashlink/hl bin/Test.hl