release v5.1.7 #169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: citest | |
on: | |
push: | |
pull_request: | |
release: | |
jobs: | |
citest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
#- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate | |
# uses: mxschmitt/action-tmate@v3 | |
- name: prepare machine | |
run: | | |
sudo apt-get update | |
sudo apt-get install apt-transport-https | |
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/naemon:/daily/xUbuntu_$(lsb_release -rs)/ ./' >> /etc/apt/sources.list" | |
wget -q "https://build.opensuse.org/projects/home:naemon:daily/signing_keys/download?kind=gpg" -O - | sudo tee /etc/apt/trusted.gpg.d/obs.asc | |
sudo apt-get update | |
sudo apt-get autoremove -y | |
sudo apt-get install -y devscripts build-essential equivs dpkg-dev valgrind cppcheck clang-14 | |
sudo mk-build-deps | |
sudo apt-get install -y ./*-build-deps*.deb | |
sudo rm -f *-build-deps*{deb,buildinfo,changes} | |
- name: run build | |
run: | | |
./autogen.sh || exit 1 | |
./configure --enable-embedded-perl --enable-debug || exit 1 | |
make || exit 1 | |
- name: run tests | |
run: | | |
VERBOSE=1 HARNESS_VERBOSE=1 make test || exit 1 | |
make clean || exit 1 | |
./configure --enable-debug || exit 1 | |
make || exit 1 | |
make fulltest || exit 1 | |
make deb || exit 1 | |
make dist || exit 1 | |
make clean || exit 1 | |
export CXX=clang++-14; export CC=clang-14; export CPP=clang-cpp-14; ./configure --enable-debug || exit 1 | |
VERBOSE=1 HARNESS_VERBOSE=1 make test || exit 1 | |
make fulltest || exit 1 |