mirror of
https://github.com/allankoechke/soci.git
synced 2026-11-30 10:58:24 +00:00
Replace existing use of std::cout and std::cerr with fmt::print[ln](): this is simpler and more convenient and also faster to compile. Also configure all CI jobs to clone submodules, as fmt submodule is required now.
28 lines
861 B
YAML
28 lines
861 B
YAML
# Continuous integration tasks running on Cirrus CI.
|
|
#
|
|
# This is currently used for testing under FreeBSD, which is not available at
|
|
# the other CI providers already used by SOCI.
|
|
env:
|
|
CIRRUS_CLONE_SUBMODULES: true
|
|
SOCI_CI: true
|
|
SOCI_CI_BRANCH: ${CIRRUS_BRANCH}
|
|
SOCI_SOURCE_DIR: /tmp/cirrus-ci-build
|
|
# Using Boost results in tons of warnings under FreeBSD.
|
|
WITH_BOOST: OFF
|
|
|
|
task:
|
|
skip: "changesIncludeOnly('.github/workflows/*', '.circleci/config.yml')"
|
|
matrix:
|
|
- name: Cirrus CI / Empty FreeBSD
|
|
env:
|
|
SOCI_CI_BACKEND: empty
|
|
- name: Cirrus CI / SQLite3 FreeBSD
|
|
env:
|
|
SOCI_CI_BACKEND: sqlite3
|
|
freebsd_instance:
|
|
image_family: freebsd-14-3
|
|
install_script: ./scripts/ci/install.sh
|
|
before_build_script: ./scripts/ci/before_build.sh
|
|
build_script: ./scripts/ci/build.sh
|
|
test_script: ./scripts/ci/test.sh
|