Skip to content

Commit

Permalink
Merge pull request #603 from novelrt/misc/bump-macos-runner
Browse files Browse the repository at this point in the history
Update macOS runner for CI
  • Loading branch information
RubyNova authored Jul 12, 2024
2 parents 2e3668e + 883f0cb commit 7bd1b57
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
configuration: [Debug, Release]
os: [windows-latest, windows-2019, ubuntu-latest, macos-11]
os: [windows-latest, windows-2019, ubuntu-latest, macos-13, macos-14]
vulkanVersion: [1.3.231.1]
include:
- os: ubuntu-latest
Expand All @@ -28,8 +28,11 @@ jobs:
name: Windows - Visual Studio 2019
- os: windows-latest
name: Windows - Visual Studio 2022
- os: macos-11
name: macOS 11 - Apple-Clang 13
- os: macos-13
name: macOS 13 (x64) - Apple-Clang 15
- os: macos-14
name: macOS 14 (arm64) - Apple-Clang 15
args: -DCMAKE_APPLE_SILICON_PROCESSOR="arm64"

steps:
- name: Checkout Code
Expand Down Expand Up @@ -66,7 +69,7 @@ jobs:
- name: Build NovelRT - ${{ matrix.configuration }}
id: build
run: |
${{ matrix.c }} ${{ matrix.cxx }} ${{ matrix.vulkan }} cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
${{ matrix.c }} ${{ matrix.cxx }} ${{ matrix.vulkan }} cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} ${{ matrix.args }}
cmake --build build --config ${{ matrix.configuration }} --target Engine Interop Samples Engine_Tests -j
- name: Test NovelRT - ${{ matrix.configuration }}
Expand Down
4 changes: 4 additions & 0 deletions src/NovelRT.Interop/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ target_compile_options(Interop
$<$<CXX_COMPILER_ID:Clang>:-Wno-padded>
$<$<CXX_COMPILER_ID:Clang>:-Wno-reserved-id-macro>
$<$<CXX_COMPILER_ID:Clang>:-Wno-nullability-extension>
$<$<AND:$<CXX_COMPILER_ID:Clang>,$<VERSION_GREATER_EQUAL:${CMAKE_CXX_COMPILER_VERSION},15.0.0>>:-Wno-unused-but-set-variable>

$<$<CXX_COMPILER_ID:AppleClang>:-pedantic>
$<$<CXX_COMPILER_ID:AppleClang>:-pedantic-errors>
Expand All @@ -143,6 +144,9 @@ target_compile_options(Interop
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-padded>
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-reserved-id-macro>
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-nullability-extension>
$<$<AND:$<CXX_COMPILER_ID:AppleClang>,$<VERSION_GREATER_EQUAL:${CMAKE_CXX_COMPILER_VERSION},15.0.0>>:-Wno-unused-but-set-variable>


)

if(MSVC)
Expand Down

0 comments on commit 7bd1b57

Please sign in to comment.