Skip to content

Commit

Permalink
ci: Add build testing
Browse files Browse the repository at this point in the history
  • Loading branch information
TravMurav committed Aug 18, 2024
1 parent 34f704d commit fedfa52
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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.*"

0 comments on commit fedfa52

Please sign in to comment.