forked from ShadowMario/FNF-PsychEngine
-
Notifications
You must be signed in to change notification settings - Fork 117
54 lines (52 loc) · 1.81 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Main
on: workflow_dispatch
jobs:
Build:
name: ${{ matrix.name }}
strategy:
matrix:
include:
- name: Windows
os: windows-2022
buildArgs: windows
setupCommand: .\"setup/windows.bat"
artifactName: windowsBuild
artifactPath: export\release\windows\bin\*
- name: Linux
os: ubuntu-22.04
buildArgs: linux
setupCommand: sh ./setup/unix.sh
artifactName: linuxBuild
artifactPath: export/release/linux/bin/*
- name: macOS x86_64
os: macos-14
setupCommand: sh ./setup/unix.sh
buildArgs: "mac -64 -D HXCPP_M64"
artifactName: macOSBuild-x86_64
artifactPath: export/release/macos/bin/*
- name: macOS AArch64
os: macos-15
buildArgs: mac
setupCommand: sh ./setup/unix.sh
artifactName: macOSBuild-arm64
artifactPath: export/release/macos/bin/*
- name: Android
os: macos-15
buildArgs: "android -ONLY_ARMV7"
setupCommand: sh ./setup/mobile.sh
artifactName: androidBuild
artifactPath: "export/release/android/bin/app/build/outputs/apk/release/*.apk"
- name: iOS
os: macos-15
buildArgs: "ios -nosign"
setupCommand: sh ./setup/mobile.sh
artifactName: iOSBuild
artifactPath: "export/release/ios/build/Release-iphoneos/*.ipa"
uses: ./.github/workflows/build.yml
with:
name: ${{ matrix.name }}
os: ${{ matrix.os }}
buildArgs: ${{ matrix.buildArgs }}
setupCommand: ${{ matrix.setupCommand }}
artifactName: ${{ matrix.artifactName }}
artifactPath: ${{ matrix.artifactPath }}