Introducing man pages, pkg-config scripts, and CMake module scripts. #8
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: Build Status | |
on: [push, pull_request] | |
jobs: | |
linux: | |
name: "Linux - ${{ matrix.compiler.display }}" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
compiler: | |
- { CC: gcc, display: GCC } | |
- { CC: clang, display: Clang } | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Build and Check | |
env: | |
CC: ${{ matrix.platform.CC }} | |
CFLAGS: ${{ matrix.platform.CFLAGS }} | |
run: | | |
cmake -B build -DCMAKE_BUILD_TYPE=Release | |
cmake --build build | |
ctest --output-on-failure --test-dir build |