diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-08-26 10:34:20 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-09-24 22:40:31 +0200 |
| commit | 052f73e4e5c7f6266bf80f392ac593046e2d8d2c (patch) | |
| tree | 1317d3e7297f3df7339e0f775b2213de240d0863 /.github/workflows/ci.yml | |
| parent | 4038ec5662a5b1ebe652e9170069e3f2f79c7e71 (diff) | |
| download | fbos-052f73e4e5c7f6266bf80f392ac593046e2d8d2c.tar.gz fbos-052f73e4e5c7f6266bf80f392ac593046e2d8d2c.zip | |
Add CI job
This will ensure that the code style is preserved and that commits being
pushed at least build successfully.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e278d5f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +env: + CROSS_COMPILE: riscv64-linux-gnu- + CC_SUFFIX: -14 + +jobs: + test: + name: Continuous Integration + runs-on: ubuntu-24.04 + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Install dependencies from Ubuntu sources + run: sudo apt-get install clang-format gcc-14-riscv64-linux-gnu + + - name: Lint + run: make lint V=1 + + - name: Check that it builds + run: make V=1 |
