-
Notifications
You must be signed in to change notification settings - Fork 16
61 lines (51 loc) · 1.31 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions
name: Build
on:
push:
branches:
- '**'
tags-ignore:
- '**'
paths-ignore:
- '**/*.adoc'
- '**/*.md'
- '.github/*.yml'
pull_request:
workflow_dispatch:
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
defaults:
run:
shell: bash
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
haxe:
- latest
- 4.2.5
- 4.1.5
- 4.0.5
steps:
- name: Show environment variables
run: env | sort
- name: Git Checkout
uses: actions/checkout@v3 #https://github.com/actions/checkout
- name: "Install: Haxe ${{ matrix.haxe }}"
uses: krdlab/setup-haxe@v1 # https://github.com/krdlab/setup-haxe
with:
haxe-version: ${{ matrix.haxe }}
##################################################
# Tests
##################################################
- name: Compile [neko]
run: haxe test-neko.hxml
- name: Compile [js]
run: haxe test-js.hxml
- name: Compile [php]
run: haxe test.hxml Lambda --php ignored.php