Add test job to c-cpp.yml workflow
Include unit test execution in C/C++ workflow
This commit is contained in:
parent
fb61876b28
commit
bfd7f49b48
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue