Add matrix strategy to CI workflow #26
Workflow file for this run
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: CI | |
on: [push, pull_request] | |
jobs: | |
fibdrv-check: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, ubuntu-24.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3.3.0 | |
- name: install-dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -q -y install build-essential cppcheck | |
sudo apt-get -q -y install linux-headers-`uname -r` | |
- name: make | |
run: | | |
make | |
- name: make check | |
run: | | |
make check | |
coding-style: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, ubuntu-24.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3.3.0 | |
- name: coding convention | |
run: | | |
sudo apt-get install -q -y clang-format-14 | |
sh .ci/check-format.sh | |
shell: bash |