-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 975 Bytes
/
ci.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
name: Cosy
on: [push, pull_request]
# update on changes to specific path: edwardthomson.com/blog/github_actions_10_path_triggers.html
jobs:
build:
strategy:
matrix:
# Windows is not yet supported due to ./scripts/all_validate.sh being unix-dependant
os: [ubuntu-latest, macos-latest]
haxe: [4.2.5]
# target: [jvm, js, node] # etc..
# os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup Haxe ${{ matrix.haxe }}
uses: krdlab/setup-haxe@v1.1.7
with:
haxe-version: ${{ matrix.haxe }}
- name: Install dependencies
run: |
# haxelib install hxjava
haxelib install hxnodejs
- name: Validate
run: ./scripts/all_validate.sh
# - name: Validate on Java
# run: ./scripts/all_validate.sh java
# if: matrix.target == 'java'