Test mysql and websockets in circleci

This commit is contained in:
ChillerDragon 2019-12-12 16:55:40 +01:00
parent 4a83a42f14
commit 6811ab6040

View file

@ -42,7 +42,9 @@ jobs:
libopus-dev \
libpnglite-dev \
libopusfile-dev \
libwavpack-dev
libwavpack-dev \
libwebsockets-dev \
libmysqlcppconn-dev
apt-get install -y cmake xz-utils
# Compile
@ -60,6 +62,21 @@ jobs:
cd noautoupdate
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -DAUTOUPDATE=OFF -DDOWNLOAD_GTEST=ON ..
make everything
- run: |
mkdir websockets
cd websockets
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -DWEBSOCKETS=ON -DDOWNLOAD_GTEST=ON ..
make everything
- run: |
mkdir mysql
cd mysql
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -DDMYSQL=ON -DDOWNLOAD_GTEST=ON ..
make everything
- run: |
mkdir bundled
cd bundled
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -DPREFER_BUNDLED_LIBS=ON -DDOWNLOAD_GTEST=ON ..
make everything
- store_artifacts:
path: /tmp/artifacts