Skip to content

Merge pull request #59 from offa/update #216

Merge pull request #59 from offa/update

Merge pull request #59 from offa/update #216

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
build_linux:
runs-on: ubuntu-latest
strategy:
matrix:
compiler:
- gcc:14
- gcc:13
- gcc:12
- gcc:11
- clang:19
- clang:18
- clang:17
- clang:16
container:
image: "registry.gitlab.com/offa/docker-images/${{ matrix.compiler }}"
name: "${{ matrix.compiler }}"
steps:
- uses: actions/checkout@main
- name: Build
run: script/ci_build.sh
build_platformio:
runs-on: ubuntu-latest
name: "PlatformIO"
steps:
- uses: actions/checkout@main
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: "3.12"
cache: "pip"
- name: Setup
run: |
pip install -U -r requirements.txt
./setup-pio-settings.sh
pio pkg update
- name: Build
run: pio run
formatting-check:
name: "formatting"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: DoozyX/clang-format-lint-action@master
name: "Verify formatting"
with:
clangFormatVersion: 16