Skip to content

Main

Main #123

Workflow file for this run

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 }}