Skip to content

Add matrix strategy to CI workflow #26

Add matrix strategy to CI workflow

Add matrix strategy to CI workflow #26

Workflow file for this run

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/[email protected]
- 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/[email protected]
- name: coding convention
run: |
sudo apt-get install -q -y clang-format-14
sh .ci/check-format.sh
shell: bash