Add test job to c-cpp.yml workflow

Include unit test execution in C/C++ workflow
This commit is contained in:
Levi Neely 2026-03-10 16:54:10 +01:00
parent fb61876b28
commit bfd7f49b48
1 changed files with 12 additions and 0 deletions

View File

@ -122,3 +122,15 @@ jobs:
run: |
nm pcloudcc | grep 'fuse_loop_mt_31'
ldd pcloudcc | grep libfuse3
test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libfuse3-dev libmbedtls-dev libsqlite3-dev libreadline-dev libudev-dev zlib1g-dev
- name: Run tests
run: make test