-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (33 loc) · 1005 Bytes
/
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
name: CI
on:
push:
pull_request:
schedule:
- cron: '0 4 * * *'
jobs:
build:
strategy:
matrix:
haxe-version: [3.4.7, 4.0.5, 4.1.5, 4.2.5, nightly]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- name: install dependencies for all samples
run: |
for i in buddy haxeunit hexunit munit tink_unittest utest; do (
cd ${{github.workspace}}/samples/$i;
npx lix download;
npx lix install haxe ${{matrix.haxe-version}};
npx lix dev test-adapter ../../test-adapter
);
done
working-directory: samples/buddy # this is kind of a hack (lix bug even?)
- name: install older libs for Haxe 3.4.7
if: matrix.haxe-version == '3.4.7'
run: |
cd ${{github.workspace}}/samples/tink_unittest
npx lix install haxelib:tink_core#1.26.0
- name: run samples
run: npx haxe -cp .github/workflows --run RunCI