ci: macos-latest is now arm64 and breaks, use macos-12 for now

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2024-05-05 13:19:25 +03:00
parent 58916d3c6d
commit a14e21dff6
3 changed files with 4 additions and 2 deletions

View File

@ -26,6 +26,8 @@ endif()
IF(APPLE)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-no_pie")
# https://stackoverflow.com/questions/69803659/what-is-the-proper-way-to-build-for-macos-x86-64-using-cmake-on-apple-m1-arm
set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE INTERNAL "" FORCE)
endif()
find_program(GO NAMES go)