From d5f4fd1e12e9b239b2aca0ab56c341476378aef8 Mon Sep 17 00:00:00 2001 From: Andre Przywara Date: Sat, 19 Feb 2022 22:42:52 +0000 Subject: [PATCH] CI: add Github Actions control file It seems like travis-ci.org is gone, replaced by travis-ci.com, but apparently that's not truly free anymore: it requires a registered account plus credit card, and is only granted a one-time free credit allowance, with the option to get this extended by explicit request. As a result the current CI stopped working a while ago, and was broken anyway (it failed building already, and make check on its own doesn't pass on master anymore). Github itself seems to offer an alternative, so let's add a control file for that to get some basic CI back. This builds the host and misc tools on a standard Ubuntu system, and runs make check. Signed-off-by: Andre Przywara --- .github/workflows/build_check.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build_check.yml diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml new file mode 100644 index 0000000..bb03438 --- /dev/null +++ b/.github/workflows/build_check.yml @@ -0,0 +1,21 @@ +name: Build host tools + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Install prerequisites + run: sudo apt-get install -y libusb-1.0-0-dev zlib1g-dev libfdt-dev + - name: make + run: make tools misc + - name: make check + run: make check