Add minimal test for DeviceAppender. #101
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: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
config: | |
- os: 'ubuntu-latest' | |
cc: 'gcc-13' | |
cxx: 'g++-13' | |
prereq: | | |
sudo apt install libstdc++-13-dev g++-13 gcc-13 | |
# Mac OS X is missing the <format> header or | |
# some of its funtions. | |
#- os: 'macos-13' | |
# cc: 'clang' | |
# cxx: 'clang++' | |
# prereq: | | |
# sudo xcode-select -s '/Applications/Xcode_15.1.app/Contents/Developer' | |
runs-on: ${{ matrix.config.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
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 |