mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Test mysql and websockets in circleci
This commit is contained in:
parent
4a83a42f14
commit
6811ab6040
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue