separated configure, build, test steps in ci
This commit is contained in:
parent
63395b774a
commit
9b57f7697f
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -10,15 +10,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
- name: configure
|
||||||
|
run: |
|
||||||
|
cmake -S . -B build -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
cmake --build build --config Debug
|
||||||
cd build
|
|
||||||
cmake .. -DBUILD_TESTS=ON
|
|
||||||
make
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
ctest --test-dir bulid/Testing
|
cd build
|
||||||
|
ctest
|
||||||
- name: Compile Arduino examples
|
- name: Compile Arduino examples
|
||||||
run: |
|
run: |
|
||||||
pushd build
|
pushd build
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user