mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-25 07:33:32 +00:00
Remaking the Cmake and the CI to clean up
This commit is contained in:
@@ -12,9 +12,9 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build Makefile with CMake
|
||||
run: cmake .
|
||||
run: cmake -S . -B build
|
||||
- name: Build with Makefile
|
||||
run: make
|
||||
run: make -C build ComSquare
|
||||
- name: Archive production artifact
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
|
||||
@@ -22,11 +22,11 @@ jobs:
|
||||
- name: Install Gcovr
|
||||
run: python -m pip install --upgrade pip gcovr
|
||||
- name: Build Makefile with CMake
|
||||
run: cmake -DTEST=on .
|
||||
run: cmake -S . -B build
|
||||
- name: Build with Makefile
|
||||
run: make
|
||||
run: make -C build unit_tests
|
||||
- name: Execute tests
|
||||
run: ./unit_tests
|
||||
run: .build/unit_tests
|
||||
- name: Output coverage
|
||||
run: gcovr -e tests/ -o coverage.xml --xml
|
||||
- name: Publish to CodeCov
|
||||
|
||||
Reference in New Issue
Block a user