Implements LOG4CPLUS_ASSERT_FMT()
and LOG4CPLUS_ASSERT_FORMAT()
.
#148
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: C/C++ CI | |
on: | |
push: | |
branches: [ "2.1.x" ] | |
pull_request: | |
branches: [ "2.1.x" ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
config: | |
- os: 'ubuntu-24.04' | |
cc: 'gcc-14' | |
cxx: 'g++-14' | |
# - os: 'macos-14' | |
# cc: 'clang' | |
# cxx: 'clang++' | |
# prereq: | | |
# sudo xcode-select -s '/Applications/Xcode_16.1_beta.app/Contents/Developer' | |
- os: 'macos-14' | |
cc: 'clang' | |
cxx: 'clang++' | |
prereq: | | |
sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | |
- os: 'macos-13' | |
cc: 'clang' | |
cxx: 'clang++' | |
prereq: | | |
sudo xcode-select -s '/Applications/Xcode_15.1.app/Contents/Developer' | |
- os: 'macos-12' | |
cc: 'clang' | |
cxx: 'clang++' | |
prereq: | | |
sudo xcode-select -s '/Applications/Xcode_14.0.1.app/Contents/Developer' | |
runs-on: ${{ matrix.config.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: install prerequisites | |
run: | | |
${{ matrix.config.prereq }} | |
- name: configure | |
run: | | |
${{ matrix.config.cxx }} --version | |
./scripts/fix-timestamps.sh | |
mkdir objdir | |
cd objdir | |
../configure CC='${{ matrix.config.cc }}' CXX='${{ matrix.config.cxx }}' --enable-shared --enable-unit-tests --with-working-locale | |
- name: make | |
run: cd objdir ; make | |
- name: make check | |
run: cd objdir ; make check |