mirror-chatterino2/.cirrus.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
891 B
YAML
Raw Permalink Normal View History

2020-09-01 18:50:56 +02:00
freebsd_instance:
image: freebsd-13-1-release-amd64
2020-09-01 18:50:56 +02:00
task:
install_script:
- pkg install -y boost-libs git qt5-buildtools qt5-concurrent qt5-core qt5-multimedia qt5-svg qtkeychain-qt5 qt5-qmake cmake qt5-linguist
2020-09-01 18:50:56 +02:00
script: |
git submodule init
git submodule update
mkdir build
cd build
c++ --version
cmake \
-DCMAKE_C_COMPILER="cc" \
-DCMAKE_CXX_COMPILER="c++" \
-DCMAKE_C_FLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " \
-DCMAKE_CXX_FLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " \
-DLINK_OPTIONS="-fstack-protector-strong" \
-DCMAKE_INSTALL_PREFIX="/usr/local" \
-DUSE_SYSTEM_QTKEYCHAIN="ON" \
-DCMAKE_BUILD_TYPE="release" \
-DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
..
cat compile_commands.json
2020-09-01 18:50:56 +02:00
make -j $(getconf _NPROCESSORS_ONLN)