mirror of
https://github.com/rmontanana/mdlp.git
synced 2025-08-15 15:35:55 +00:00
Build tests in action
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -20,10 +20,10 @@ jobs:
|
|||||||
uses: SonarSource/sonarcloud-github-c-cpp@v1
|
uses: SonarSource/sonarcloud-github-c-cpp@v1
|
||||||
- name: Tests & build-wrapper
|
- name: Tests & build-wrapper
|
||||||
run: |
|
run: |
|
||||||
|
cd tests
|
||||||
mkdir build
|
mkdir build
|
||||||
cmake -S . -B build -Wno-dev
|
cmake -S . -B build -Wno-dev
|
||||||
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/ --config Release
|
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/ --config Release
|
||||||
cmake --build build/ --config Release
|
|
||||||
cd build
|
cd build
|
||||||
ctest -C Release --output-on-failure
|
ctest -C Release --output-on-failure
|
||||||
- name: Run sonar-scanner
|
- name: Run sonar-scanner
|
||||||
|
Reference in New Issue
Block a user