Skip to content

cmake: block compilation of the 'main' rimage branch #1

cmake: block compilation of the 'main' rimage branch

cmake: block compilation of the 'main' rimage branch #1

Workflow file for this run

---
# Basic build test
name: build
# yamllint disable-line rule:truthy
on: [pull_request, push, workflow_dispatch]
env:
CMAKE_C_FLAGS: "-Werror -Wall -Wmissing-prototypes\
-Wimplicit-fallthrough=3 -Wpointer-arith"
jobs:
build-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with: {fetch-depth: 50, submodules: recursive}
- name: install tools
run: sudo apt update && sudo apt install -y ninja-build
- name: build
run: cmake -B build/ -G Ninja
- run: cmake --build build/