Files
chatterino2/.cirrus.yml
pajlada 2bf617f37a ci(freebsd): skip imageformats install (#6518)
There seems to be an issue with the imageformats packaging for freebsd, and since we don't need it for building (which is what our Cirrus CI is there for), we remove the dependency.
2025-10-04 11:19:32 +02:00

27 lines
872 B
YAML

freebsd_instance:
image_family: freebsd-14-2
task:
install_script:
- pkg install -y boost-libs git libnotify qt6-base qt6-svg qtkeychain-qt6 cmake pkgconf
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" \
-DSKIP_JSON_GENERATION="ON" \
..
cat compile_commands.json
make -j $(getconf _NPROCESSORS_ONLN)