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:
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@v2
|
||||
- name: configure
|
||||
run: |
|
||||
cmake -S . -B build -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug
|
||||
- name: build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DBUILD_TESTS=ON
|
||||
make
|
||||
cmake --build build --config Debug
|
||||
- name: test
|
||||
run: |
|
||||
ctest --test-dir bulid/Testing
|
||||
cd build
|
||||
ctest
|
||||
- name: Compile Arduino examples
|
||||
run: |
|
||||
pushd build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user