mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Target older macOS versions
This commit is contained in:
parent
dae7795478
commit
ef32200c8d
1 changed files with 8 additions and 2 deletions
10
.github/workflows/shared-build.yml
vendored
10
.github/workflows/shared-build.yml
vendored
|
@ -16,6 +16,7 @@ jobs:
|
||||||
##########################
|
##########################
|
||||||
#
|
#
|
||||||
# Linux
|
# Linux
|
||||||
|
# Ubuntu 24.04
|
||||||
#
|
#
|
||||||
##########################
|
##########################
|
||||||
build-platform-linux:
|
build-platform-linux:
|
||||||
|
@ -155,6 +156,7 @@ jobs:
|
||||||
##########################
|
##########################
|
||||||
#
|
#
|
||||||
# Microsoft Windows
|
# Microsoft Windows
|
||||||
|
# Windows Server 2022
|
||||||
#
|
#
|
||||||
##########################
|
##########################
|
||||||
build-platform-windows:
|
build-platform-windows:
|
||||||
|
@ -329,14 +331,17 @@ jobs:
|
||||||
##########################
|
##########################
|
||||||
#
|
#
|
||||||
# Apple macOS
|
# Apple macOS
|
||||||
|
# macOS 14
|
||||||
#
|
#
|
||||||
|
# It uses this version because older versions are slower,
|
||||||
|
# at least in Actions.
|
||||||
##########################
|
##########################
|
||||||
build-platform-macos:
|
build-platform-macos:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
architecture: [
|
architecture: [
|
||||||
{name: 'x86_64', triple: 'x86_64-apple-macos13'},
|
{name: 'x86_64', triple: 'x86_64-apple-macos10.8'},
|
||||||
{name: 'arm64', triple: 'arm64-apple-macos14'}
|
{name: 'arm64', triple: 'arm64-apple-macos11'}
|
||||||
]
|
]
|
||||||
|
|
||||||
name: "Building for platform macos-${{matrix.architecture.name}}"
|
name: "Building for platform macos-${{matrix.architecture.name}}"
|
||||||
|
@ -360,6 +365,7 @@ jobs:
|
||||||
echo "CMAKE_GENERATOR=Ninja Multi-Config" >> $GITHUB_ENV
|
echo "CMAKE_GENERATOR=Ninja Multi-Config" >> $GITHUB_ENV
|
||||||
echo "CC=clang" >> $GITHUB_ENV
|
echo "CC=clang" >> $GITHUB_ENV
|
||||||
echo "CXX=clang++" >> $GITHUB_ENV
|
echo "CXX=clang++" >> $GITHUB_ENV
|
||||||
|
echo "MACOSX_DEPLOYMENT_TARGET=10.15" >> $GITHUB_ENV
|
||||||
|
|
||||||
###
|
###
|
||||||
# SDL
|
# SDL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue