summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-04-28 11:06:09 +0200
committerDavid Gibson <github@gibson.dropbear.id.au>2023-05-14 15:11:32 +1000
commitab481e483061af6fa0023cfa7b7c0378dd944160 (patch)
treeea60ecca40acdc7b30ddacd96bec0dc584710da2
parentc88038c9b8ca5515df44c1e86bdc4dfa4946f2b2 (diff)
downloaddevice-tree-compiler-ab481e483061af6fa0023cfa7b7c0378dd944160.tar.gz
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>
-rw-r--r--.github/workflows/build.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..6daaa8d
--- /dev/null
+++ b/.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