mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-11 05:33:27 +02:00
59953b20b2
gcc' use after free detection is busted and sees one in vis.c where it's not possible.
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
# gcc' -Werror=use-after-free gets tripped by vis.c: it sees a use
|
|
# after free where it's not possible and breaks the CI.
|
|
|
|
linux_amd64_task:
|
|
container:
|
|
image: alpine:latest
|
|
test_script:
|
|
- apk add alpine-sdk linux-headers bison libretls-dev libevent-dev
|
|
- ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations -Wno-use-after-free' -Werror
|
|
- make
|
|
- make regress REGRESS_HOST="*"
|
|
|
|
linux_arm_task:
|
|
arm_container:
|
|
image: alpine:latest
|
|
test_script:
|
|
- apk add alpine-sdk linux-headers bison libretls-dev libevent-dev
|
|
- ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations -Wno-use-after-free' -Werror
|
|
- make
|
|
- make regress REGRESS_HOST="*"
|
|
|
|
freebsd_13_task:
|
|
freebsd_instance:
|
|
image_family: freebsd-13-0
|
|
test_script:
|
|
- pkg install -y libevent libressl pkgconf
|
|
- ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
|
|
- make
|
|
- make regress
|
|
|
|
mac_task:
|
|
macos_instance:
|
|
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
|
|
test_script:
|
|
- brew install libevent openssl libretls
|
|
- PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
|
|
- make
|
|
- SKIP_RUNTIME_TESTS=1 make regress
|