fix(CI): Cgo linker flags stopped working.

They caused the tests to fail completely, but without them, the builds only give some warnings. So disabling them for now.
This commit is contained in:
Veikko Sariola 2020-11-20 22:54:33 +02:00 committed by GitHub
parent 95c8c9c2b7
commit e2c6d4b70c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,10 @@ jobs:
maker: ninja
asmnasm: /Users/runner/nasm/nasm
gotests: yes
cgo_ldflags: -Wl,-no_pie # ld on mac is complaining about position dependent code
cgo_ldflags: # -Wl,-no_pie
# ld on mac is complaining about position dependent code so this would take the errors away, BUT
# suddenly this causes an error, even though worked last week. Let's accept the warnings rather
# than let the tests fail because of this.
# TODO: win32 builds didn't quite work out, complains gcc broken
steps:
- uses: lukka/get-cmake@v3.18.3