Files
system76-embedded-controller/.github/workflows/ci.yml
Tim Crawford b03c960b4f make: Reduce build output
Default to silent builds, only outputting the file being generated. This
gives output similar to Linux/coreboot output when building. `VERBOSE=1`
can be passed to show the actual commands.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-01-18 12:18:31 -07:00

100 lines
2.4 KiB
YAML

name: CI
on:
push:
branches: [master]
pull_request:
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Check SPDX identifiers
run: ./scripts/lint/spdx.sh
- name: Check indentation
run: ./scripts/lint/indent.sh
- name: Check formatting
run: ./scripts/clang-format.sh
continue-on-error: true
tool:
strategy:
matrix:
include:
- features:
- features: --no-default-features --features="redox_hwio"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: ./scripts/deps.sh
- name: Build tool
run: cargo build ${{ matrix.features }} --release --manifest-path tool/Cargo.toml
ec:
runs-on: ubuntu-22.04
strategy:
matrix:
# TODO: Generate matrix from directory?
# TODO: Conditionally build based on files changed?
include:
- vendor: arduino
board: mega2560
- vendor: system76
board: addw1
- vendor: system76
board: addw2
- vendor: system76
board: bonw14
- vendor: system76
board: darp5
- vendor: system76
board: darp7
- vendor: system76
board: darp8
- vendor: system76
board: galp3-c
- vendor: system76
board: galp5
- vendor: system76
board: galp6
- vendor: system76
board: gaze15
- vendor: system76
board: gaze16-3050
- vendor: system76
board: gaze16-3060
- vendor: system76
board: gaze17-3050
- vendor: system76
board: gaze17-3060-b
- vendor: system76
board: lemp9
- vendor: system76
board: lemp10
- vendor: system76
board: lemp11
- vendor: system76
board: oryp5
- vendor: system76
board: oryp6
- vendor: system76
board: oryp7
- vendor: system76
board: oryp8
- vendor: system76
board: oryp9
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: ./scripts/deps.sh
- name: Build firmware
run: make BOARD=${{ matrix.vendor}}/${{ matrix.board }} VERBOSE=1