Add CI jobs for macOS ARM configurations.

This commit is contained in:
Pentarctagon 2020-12-20 16:59:34 -06:00 committed by Pentarctagon
parent f9ce562a95
commit ecd1d0ce55

View file

@ -14,7 +14,7 @@ jobs:
name: Discord Notification
needs: [ubuntu-2004-scons-gcc-release-lto, ubuntu-2004-scons-clang-debug, ubuntu-2004-cmake-clang-release, ubuntu-2004-cmake-gcc-debug, ubuntu-1804, steam-runtime, mingw, flatpak, translations, macos-master-release, macos-master-debug, windows-release, windows-debug]
needs: [ubuntu-2004-scons-gcc-release-lto, ubuntu-2004-scons-clang-debug, ubuntu-2004-cmake-clang-release, ubuntu-2004-cmake-gcc-debug, ubuntu-1804, steam-runtime, mingw, flatpak, translations, macos-intel-master-release, macos-intel-master-debug, macos-arm-master-release, macos-arm-master-debug, windows-release, windows-debug]
if: always()
steps:
@ -243,7 +243,7 @@ jobs:
export CACHE_DIR=/home/wesnoth-CI/build
./.github/workflows/ci-scripts/ubuntu.sh
macos-master-release:
macos-intel-master-release:
runs-on: macos-10.15
steps:
@ -251,13 +251,13 @@ jobs:
with:
submodules: "recursive"
- name: macOS Release
- name: macOS Intel Release
run: |
export CFG=Release
export CACHE_DIR=~/build-cache
./.github/workflows/ci-scripts/macos.sh
macos-master-debug:
macos-intel-master-debug:
runs-on: macos-10.15
steps:
@ -265,7 +265,7 @@ jobs:
with:
submodules: "recursive"
- name: macOS Debug
- name: macOS Intel Debug
run: |
export CFG=Debug
export CACHE_DIR=~/build-cache
@ -273,12 +273,46 @@ jobs:
- name: Upload
uses: actions/upload-artifact@v2
with:
name: macOS-Debug
name: macOS-Intel-Debug
path: |
~/work/wesnoth/wesnoth/projectfiles/Xcode/Wesnoth_Debug.dmg
macos-arm-master-release:
runs-on: macos-11.0
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: macOS ARM Release
run: |
export CFG=Release
export CACHE_DIR=~/build-cache
./.github/workflows/ci-scripts/macos.sh
macos-arm-master-debug:
runs-on: macos-11.0
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: macOS ARM Debug
run: |
export CFG=Debug
export CACHE_DIR=~/build-cache
./.github/workflows/ci-scripts/macos.sh
- name: Upload
uses: actions/upload-artifact@v2
with:
name: macOS-ARM-Debug
path: |
~/work/wesnoth/wesnoth/projectfiles/Xcode/Wesnoth_Debug.dmg
# in the case of needing to recompile the vcpkg-created Windows dependencies, increment the cache-name and key for both Release and Debug
# this will create a brand new cache and recompile the vcpkg dependencies from scratch
windows-release:
runs-on: windows-2019