prepare_script: |
mkdir build
chown nobody build
- chsh -s /bin/sh nobody
+ pw user mod -s /bin/sh -d $(pwd)/build nobody
configure_script: |
- sudo -E -u nobody cmake -S . -B build
+ sudo -E -u nobody CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage" cmake -S . -B build
build_script: |
sudo -E -u nobody make -C build -j2 all
test_script: |
install_script: |
sudo -E -u nobody make -C build install DESTDIR=/tmp
on_success:
+ codecov_script: |
+ bash <(curl -s https://codecov.io/bash)
gitter_success_script: |
curl -sS "${gitter}" \
--data-urlencode "level=info" \
dbg-mac:
name: dbg-mac (<?=DEF["macOS"]?>, <?=DEF[DEF["macOS"]]?>, <?=DEF[DEF[DEF["macOS"]]]["ver"]?>)
runs-on: <?=DEF["macOS"]?> #
+ env:
+ CFLAGS: -O0 --coverage
+ CXXFLAGS: -O0 --coverage
continue-on-error: true
steps:
- uses: actions/checkout@v2
<?php steps(false); ?>
+ - uses: codecov/codecov-action@v1.0.13
# release builds
release:
dbg-mac:
name: dbg-mac (macos-10.15, clang, apple)
runs-on: macos-10.15 #
+ env:
+ CFLAGS: -O0 --coverage
+ CXXFLAGS: -O0 --coverage
continue-on-error: true
steps:
- uses: actions/checkout@v2
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true
+ - uses: codecov/codecov-action@v1.0.13
# release builds
release:
- libsasl2-dev
env:
- - CMAKE_BUILD_TYPE=Debug BUILD_TESTING=true ENABLE_SASL=true
+ - CMAKE_BUILD_TYPE=Debug BUILD_TESTING=true ENABLE_SASL=true CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage"
install:
- |
after_failure:
- cat Testing/Temporary/LastTest.log || true
+after_success:
+ - bash <(curl -s https://codecov.io/bash)
+
notifications:
webhooks:
urls:
CI/Test results are available at:
-| Provider | Status | OS | Arch | Compiler |
-|--------------|---------------------|--------------|-------|------------|
-| [Travis CI] | ![Travis CI Badge] | Linux | arm64 | GNU |
-| [Cirrus CI] | ![Cirrus CI Badge] | FreeBSD | amd64 | Clang |
-| [GH Actions] | ![GH Actions Badge] | Linux, MacOS | amd64 | GNU, Clang |
+| Provider | Status | OS | Compiler | Arch |
+|--------------|---------------------|--------------|------------|-----------------------|
+| [Travis CI] | ![Travis CI Badge] | Linux | GNU | arm64, ppc64le, s390x |
+| [Cirrus CI] | ![Cirrus CI Badge] | FreeBSD | Clang | amd64 |
+| [GH Actions] | ![GH Actions Badge] | Linux, MacOS | GNU, Clang | amd64 |
Additional project metrics: