mirror of
https://github.com/open-goal/jak-project
synced 2026-06-10 04:54:31 -04:00
8f445bda3e
Create explicit x86_64 and ARM64 macOS build targets, so it's clear that the CI is building x86_64 binaries (on both Intel and ARM64 build machines). Also, use the `CMAKE_APPLE_SILICON_PROCESSOR` CMake variable (which sets `CMAKE_SYSTEM_PROCESSOR`) so `BUILD_X86_ON_MACOS` is not necessary. And update the README.
61 lines
1.3 KiB
YAML
61 lines
1.3 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
merge_group: {}
|
|
|
|
jobs:
|
|
# Windows
|
|
build_windows_clang:
|
|
name: "🖥️ Windows"
|
|
uses: ./.github/workflows/windows-build-clang.yaml
|
|
with:
|
|
cmakePreset: "Release-windows-clang"
|
|
cachePrefix: ""
|
|
secrets: inherit
|
|
|
|
build_windows_msvc:
|
|
name: "🖥️ Windows"
|
|
uses: ./.github/workflows/windows-build-msvc.yaml
|
|
with:
|
|
cmakePreset: "Release-windows-msvc"
|
|
cachePrefix: ""
|
|
secrets: inherit
|
|
|
|
# Linux
|
|
build_linux_clang:
|
|
name: "🐧 Linux"
|
|
uses: ./.github/workflows/linux-build-clang.yaml
|
|
with:
|
|
cmakePreset: "Release-linux-clang-asan"
|
|
cachePrefix: ""
|
|
secrets: inherit
|
|
|
|
build_linux_gcc:
|
|
name: "🐧 Linux"
|
|
uses: ./.github/workflows/linux-build-gcc.yaml
|
|
with:
|
|
cmakePreset: "Release-linux-gcc"
|
|
cachePrefix: ""
|
|
secrets: inherit
|
|
|
|
# MacOS
|
|
build_macos_intel:
|
|
name: "🍎 MacOS"
|
|
uses: ./.github/workflows/macos-build.yaml
|
|
with:
|
|
cmakePreset: "Release-macos-x86_64-clang"
|
|
cachePrefix: ""
|
|
|
|
build_macos_arm:
|
|
name: "🍎 MacOS"
|
|
uses: ./.github/workflows/macos-build-arm.yaml
|
|
with:
|
|
cmakePreset: "Release-macos-x86_64-clang"
|
|
cachePrefix: ""
|