Skip to content

Update CI platforms and actions (#98) #1168

Update CI platforms and actions (#98)

Update CI platforms and actions (#98) #1168

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt install -y cppcheck clang-format
- name: Lint
run: |
make CLANG_FORMAT=clang-format fmt && git diff --exit-code
cppcheck --error-exitcode=1 src/
build:
strategy:
matrix:
platform: ["ubuntu-20.04", "ubuntu-22.04"]
env:
- FAULTS: conservative
- FAULTS:
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt install -y libelf-dev ruby build-essential linux-headers-$(uname -r)
- name: Build
env:
FAULTS: ${{ matrix.env.FAULTS }}
run: make