Browse Source

Add definition for a GitHub Actions CI job

The job just builds the full configuration on latest Ubuntu

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
main
Uwe Kleine-König 2 years ago committed by David Gibson
parent
commit
ab481e4830
  1. 33
      .github/workflows/build.yml

33
.github/workflows/build.yml

@ -0,0 +1,33 @@
---
name: Build test
'on':
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install Dependencies
run:
sudo apt install
flex
libyaml-dev
pkg-config
python3-dev
swig
valgrind
bison

- name: Build
run: make

- name: Run check
run: make check
Loading…
Cancel
Save