Skip to content

Commit a01ee61

Browse files
committed
yey
1 parent 8b4559f commit a01ee61

1 file changed

Lines changed: 21 additions & 6 deletions

File tree

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,24 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
buildWindows:
12-
runs-on: windows-latest
11+
build:
12+
name: ${{matrix.os-name}} Build
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- os: ubuntu-latest
18+
os-name: Linux
19+
target: x86_64-unknown-linux-gnu
20+
- os: windows-latest
21+
os-name: Windows
22+
target: x86_64-pc-windows-msvc
23+
- os: macos-latest
24+
os-name: macOS-Intel
25+
target: x86_64-apple-darwin
26+
- os: macos-latest
27+
os-name: macOS-Arm64
28+
target: aarch64-apple-darwin
1329

1430
steps:
1531
- uses: actions/checkout@v4
@@ -19,7 +35,6 @@ jobs:
1935

2036
- name: Install Libraries
2137
run: |
22-
haxelib setup C:/haxelib
2338
haxelib install lime
2439
haxelib install openfl
2540
haxelib --never install flixel
@@ -36,11 +51,11 @@ jobs:
3651
run: echo "${{github.run_id}}" > VERSION
3752

3853
- name: Compile
39-
run: haxelib run lime build windows --app-version="4.0.0-${{ github.run_id}}"
54+
run: haxelib run lime build ${{matrix.target}} --app-version="4.0.0-${{ github.run_id}}"
4055

4156
- name: Publish Artifact
4257
uses: actions/upload-artifact@v4
4358
with:
44-
name: windowsBuild
45-
path: export/release/windows/
59+
name: Solar Submit ${{matrix.os-name}}
60+
path: export/${{matrix.target}}/
4661

0 commit comments

Comments
 (0)