diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2025-09-27 23:05:48 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2025-09-28 21:24:49 +0200 |
| commit | 5906d2a8e093a16ae3818a11a18db1024b419ae4 (patch) | |
| tree | 5aa13646437f3aadbde09266b196985e7eb935d5 /.github/workflows | |
| parent | 43c1802f880471c5b69f8c622314827790aad0b8 (diff) | |
| download | pudc-5906d2a8e093a16ae3818a11a18db1024b419ae4.tar.gz pudc-5906d2a8e093a16ae3818a11a18db1024b419ae4.zip | |
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to '.github/workflows')
| -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..14ed8b1 --- /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: Build and run unit tests with DEBUG on + run: make V=1 DEBUG=1 |
