Skip to content

next

next #7

Workflow file for this run

# ***********************************************************************
# @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