mirror of https://github.com/omar-polo/gmid.git
enable -Werror on CI
-Wno-deprecated-declarations is needed because of OpenSSL 3 (and macos stupidly deprecating daemon(3) in favour of that trash of posix_spawn.)
This commit is contained in:
parent
7604fc903a
commit
cf5cf697a8
|
@ -3,7 +3,7 @@ linux_amd64_task:
|
|||
image: alpine:latest
|
||||
test_script:
|
||||
- apk add alpine-sdk linux-headers bison libretls-dev libevent-dev
|
||||
- ./configure
|
||||
- ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
|
||||
- make
|
||||
- make regress
|
||||
|
||||
|
@ -12,7 +12,7 @@ linux_arm_task:
|
|||
image: alpine:latest
|
||||
test_script:
|
||||
- apk add alpine-sdk linux-headers bison libretls-dev libevent-dev
|
||||
- ./configure
|
||||
- ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
|
||||
- make
|
||||
- make regress
|
||||
|
||||
|
@ -21,7 +21,7 @@ freebsd_13_task:
|
|||
image_family: freebsd-13-0
|
||||
test_script:
|
||||
- pkg install -y libevent libressl pkgconf
|
||||
- ./configure
|
||||
- ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
|
||||
- make
|
||||
- make regress
|
||||
|
||||
|
@ -30,6 +30,6 @@ mac_task:
|
|||
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
|
||||
test_script:
|
||||
- brew install libevent libretls
|
||||
- LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib -lcrypto -lssl $(pkg-config --libs libevent libtls)" ./configure CFLAGS="-I/opt/homebrew/opt/openssl@1.1/include $(pkg-config --cflags libevent libtls)" || (echo ; cat config.log ; false)
|
||||
- ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
|
||||
- make
|
||||
- SKIP_RUNTIME_TESTS=1 make regress
|
||||
|
|
Loading…
Reference in New Issue