[CICD] doxygen workflow #9
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
# *********************************************************************** | |
# @copyright : Siemens AG | |
# @license : GPLv3 | |
# @author : Andreas Kaeberlein | |
# @address : Clemens-Winkler-Strasse 3, 09116 Chemnitz | |
# | |
# @maintainer : Andreas Kaeberlein | |
# @telephone : +49 371 4810-2108 | |
# @email : [email protected] | |
# | |
# @file : test.yml | |
# @date : 2024-12-22 | |
# @see : https://github.com/andkae/pciinfo | |
# | |
# @brief : Build and Run test | |
# | |
# **********************************************************************/ | |
name: Test | |
on: | |
push: | |
paths-ignore: | |
- 'doc/**' | |
- 'README.md' | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 # allow fetch tags, needed by 'git describe' | |
- name: OS Version | |
run: cat /etc/os-release | |
- name: CI & Size | |
run: | | |
make ci | |
nm --print-size --size-sort --radix=d ./bin/pciinfo.o | |
make clean | |
- name: Test | |
run: | | |
make |