mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-25 18:00:37 -04:00
ci: macos-latest is now arm64 and breaks, use macos-12 for now
This commit is contained in:
parent
58916d3c6d
commit
a14e21dff6
2
.github/workflows/binaries.yml
vendored
2
.github/workflows/binaries.yml
vendored
@ -92,7 +92,7 @@ jobs:
|
||||
asmnasm: /Users/runner/nasm/nasm
|
||||
output: sointu-compile
|
||||
params: cmd/sointu-compile/main.go
|
||||
- os: macos-latest
|
||||
- os: macos-12 # this is intel still
|
||||
asmnasm: /Users/runner/nasm/nasm
|
||||
output: sointu-track-native
|
||||
params: -tags=native cmd/sointu-track/main.go
|
||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
asmnasm: C:\Users\runneradmin\nasm\nasm
|
||||
gotests: yes
|
||||
cgo_ldflags:
|
||||
- os: macos-latest
|
||||
- os: macos-12 # this is intel still
|
||||
asmnasm: /Users/runner/nasm/nasm
|
||||
gotests: yes
|
||||
cgo_ldflags: # -Wl,-no_pie
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user