Skip to content

Commit 190e5fd

Browse files
committed
actions
1 parent 17b5fd9 commit 190e5fd

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed

.github/workflows/main.yml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- master
8+
9+
jobs:
10+
samples-misc:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: krdlab/setup-haxe@v1
15+
with:
16+
haxe-version: 4.2.5
17+
- name: Set up Haxelib dependencies
18+
run: |
19+
haxelib install lime --quiet
20+
haxelib install openfl --quiet
21+
haxelib install feathersui --quiet
22+
haxelib install feathersui-rpc-services --quiet
23+
- name: Build puremvc-haxe-demo-hello-openfl
24+
working-directory: puremvc-haxe-demo-hello-openfl
25+
run: |
26+
haxelib run openfl build neko
27+
haxelib run openfl build html5
28+
haxelib run openfl build flash
29+
haxelib run openfl build hl
30+
- name: Build puremvc-haxe-demo-feathersui-appskeleton
31+
working-directory: rpuremvc-haxe-demo-feathersui-appskeleton
32+
run: |
33+
haxelib run openfl build neko
34+
haxelib run openfl build html5
35+
haxelib run openfl build flash
36+
haxelib run openfl build hl
37+
- name: Build puremvc-haxe-demo-feathersui-todomvc
38+
working-directory: puremvc-haxe-demo-feathersui-todomvc
39+
run: |
40+
haxelib run openfl build neko
41+
haxelib run openfl build html5
42+
haxelib run openfl build flash
43+
haxelib run openfl build hl
44+
- name: Build puremvc-haxe-demo-feathersui-cafe-townsend
45+
working-directory: puremvc-haxe-demo-feathersui-cafe-townsend
46+
run: |
47+
haxelib run openfl build neko
48+
haxelib run openfl build html5
49+
haxelib run openfl build flash
50+
haxelib run openfl build hl
51+
52+
samples-air:
53+
runs-on: windows-latest
54+
steps:
55+
- uses: actions/checkout@v4
56+
- uses: joshtynjala/setup-adobe-air-action@v2
57+
with:
58+
air-version: "33.1"
59+
accept-license: true
60+
- uses: krdlab/setup-haxe@v1
61+
with:
62+
haxe-version: 4.2.5
63+
- uses: actions/setup-java@v4
64+
with:
65+
java-version: "8"
66+
distribution: "temurin"
67+
- name: Set up Haxelib dependencies
68+
run: |
69+
haxelib install lime --quiet
70+
haxelib install openfl --quiet
71+
haxelib install feathersui --quiet
72+
haxelib install feathersui-rpc-services --quiet
73+
haxelib run lime config AIR_SDK ${{ env.AIR_HOME }}
74+
- name: Build puremvc-haxe-demo-hello-openfl
75+
working-directory: puremvc-haxe-demo-hello-openfl
76+
run: |
77+
haxelib run openfl build air
78+
- name: Build puremvc-haxe-demo-feathersui-appskeleton
79+
working-directory: rpuremvc-haxe-demo-feathersui-appskeleton
80+
run: |
81+
haxelib run openfl build air
82+
- name: Build puremvc-haxe-demo-feathersui-todomvc
83+
working-directory: puremvc-haxe-demo-feathersui-todomvc
84+
run: |
85+
haxelib run openfl build air
86+
- name: Build puremvc-haxe-demo-feathersui-cafe-townsend
87+
working-directory: puremvc-haxe-demo-feathersui-cafe-townsend
88+
run: |
89+
haxelib run openfl build air

0 commit comments

Comments
 (0)