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>
This commit is contained in:
Uwe Kleine-König 2023-04-28 11:06:09 +02:00 committed by David Gibson
parent c88038c9b8
commit ab481e4830

33
.github/workflows/build.yml vendored Normal file
View file

@ -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