mirror of
https://github.com/cryb-to/cryb-otp.git
synced 2025-02-16 07:41:10 +00:00
These warnings can be triggered by defensive code and assertions, such as range checks on parameters. I'd rather silence the warning than remove the check, even if it's optimized away.
25 lines
502 B
YAML
25 lines
502 B
YAML
dist: xenial
|
|
sudo: required
|
|
|
|
language: c
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
env:
|
|
global:
|
|
- CFLAGS="-Wno-unused-result -Wno-type-limits"
|
|
- CRYB_TO=0.20190326
|
|
|
|
before_install:
|
|
- sudo apt-get update -q
|
|
- sudo apt-get install -y pkg-config
|
|
- wget https://github.com/cryb-to/cryb-to/releases/download/${CRYB_TO}/cryb-to_${CRYB_TO}-1_amd64.deb
|
|
- sudo dpkg -i cryb-to_${CRYB_TO}-1_amd64.deb
|
|
|
|
before_script:
|
|
- ./autogen.sh
|
|
- ./configure --enable-developer-warnings --enable-werror
|
|
|
|
script:
|
|
- make check
|