separated configure, build, test steps in ci

This commit is contained in:
Donghoon Park 2024-12-15 02:53:43 +00:00
parent 63395b774a
commit 9b57f7697f

View File

@ -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