From 9b57f7697fddcf2268cf584520b78ea871fac6ca Mon Sep 17 00:00:00 2001 From: Donghoon Park Date: Sun, 15 Dec 2024 02:53:43 +0000 Subject: [PATCH] separated configure, build, test steps in ci --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6aea87b..a20ae4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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