2020-09-01 18:50:56 +02:00
|
|
|
freebsd_instance:
|
2024-06-23 14:26:59 +02:00
|
|
|
image_family: freebsd-14-0
|
2020-09-01 18:50:56 +02:00
|
|
|
|
|
|
|
task:
|
|
|
|
install_script:
|
2024-06-23 14:26:59 +02:00
|
|
|
- pkg install -y boost-libs git qt6-base qt6-svg qt6-5compat qt6-imageformats qtkeychain-qt6 cmake
|
2020-09-01 18:50:56 +02:00
|
|
|
script: |
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
mkdir build
|
|
|
|
cd build
|
2023-01-08 13:55:35 +01:00
|
|
|
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" \
|
2024-06-23 14:26:59 +02:00
|
|
|
-DBUILD_WITH_QT6="ON" \
|
2023-01-08 13:55:35 +01:00
|
|
|
..
|
|
|
|
cat compile_commands.json
|
2020-09-01 18:50:56 +02:00
|
|
|
make -j $(getconf _NPROCESSORS_ONLN)
|