From fedfa5272878d6142be9414ba4106400226696d6 Mon Sep 17 00:00:00 2001 From: Nikita Travkin Date: Sun, 18 Aug 2024 14:42:52 +0500 Subject: [PATCH] ci: Add build testing --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ba76e63 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +name: Build +on: [push, pull_request] + +jobs: + build: + name: "Build" + runs-on: ubuntu-latest + steps: + - name: Install additional build dependencies + run: sudo apt-get install -yqq llvm lld + - uses: actions/checkout@v4 + with: + submodules: recursive + - name: Build + run: git clean -dxf && make -j$(nproc) CFLAGS_SRC="-Wall -Werror" + - name: Archive artifacts + uses: actions/upload-artifact@v4 + with: + name: dtbloader + path: "build-*/dtbloader.*"