-
Notifications
You must be signed in to change notification settings - Fork 8
45 lines (43 loc) · 1.19 KB
/
build.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
name: build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
haxe:
- latest
- 4.3.4
steps:
- uses: actions/checkout@v4
- name: Install haxe
uses: krdlab/[email protected]
with:
haxe-version: ${{ matrix.haxe }}
- name: Install haxelibs
run: |
haxelib dev wtri .
haxelib install haxelib.json
haxelib install hashlink
haxelib install hxcpp
haxelib git hxargs https://github.com/Simn/hxargs
haxelib git om.core https://github.com/omlib/om.core
haxelib git om.http https://github.com/omlib/om.http
- name: Build hl
run: haxe wtri.hxml -hl wtri.hl
- name: Build hlc
run: haxe wtri.hxml -hl out/main.c
- name: Build neko
run: haxe wtri.hxml -neko wtri.n
- name: Build python
run: haxe wtri.hxml -python wtri.py
- name: Build jvm
run: haxe wtri.hxml -lua wtri.lua -D lua-vanilla -D lua-jit
- name: Build cpp
run: haxe wtri.hxml -cpp cpp
- name: Build php
run: haxe wtri.hxml -php php