Skip to content

Commit

Permalink
add macos
Browse files Browse the repository at this point in the history
  • Loading branch information
HerrNamenlos123 committed Apr 21, 2024
1 parent 15c665f commit 62e9dee
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-assimp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- { os: windows-2022, triple: windows-x64-msvc143 }
- { os: windows-2022, triple: windows-arm64-msvc143 }
- { os: windows-2022, triple: windows-x64-mingw64 }
- { os: macos-14, triple: macos-x64-gcc }
- { os: macos-14, triple: macos-arm64-gcc }

steps:
- name: Checkout repository
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-freeimage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- { os: windows-2022, triple: windows-x64-msvc143 }
- { os: windows-2022, triple: windows-arm64-msvc143 }
- { os: windows-2022, triple: windows-x64-mingw64 }
- { os: macos-14, triple: macos-x64-gcc }
- { os: macos-14, triple: macos-arm64-gcc }

steps:
- name: Checkout repository
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-libcurl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- { os: windows-2022, triple: windows-x64-msvc143 }
- { os: windows-2022, triple: windows-arm64-msvc143 }
- { os: windows-2022, triple: windows-x64-mingw64 }
- { os: macos-14, triple: macos-x64-gcc }
- { os: macos-14, triple: macos-arm64-gcc }

steps:
- name: Checkout repository
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-mbedtls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- { os: windows-2022, triple: windows-x64-msvc143 }
- { os: windows-2022, triple: windows-arm64-msvc143 }
- { os: windows-2022, triple: windows-x64-mingw64 }
- { os: macos-14, triple: macos-x64-gcc }
- { os: macos-14, triple: macos-arm64-gcc }

steps:
- name: Checkout repository
Expand Down
6 changes: 6 additions & 0 deletions toolchains/macos-arm64-gcc.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
set(CMAKE_SYSTEM_NAME Apple)
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc-9)
set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++-9)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
6 changes: 6 additions & 0 deletions toolchains/macos-x64-gcc.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
set(CMAKE_SYSTEM_NAME Apple)
set(CMAKE_C_COMPILER gcc-9)
set(CMAKE_CXX_COMPILER g++-9)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

0 comments on commit 62e9dee

Please sign in to comment.