Skip to content

Commit 70e7bf8

Browse files
committed
- update CI
1 parent a58fe96 commit 70e7bf8

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/cmake-single-platform.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,10 @@ jobs:
2525
- name: Configure CMake
2626
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
2727
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
28-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
28+
run: cmake -B ${{github.workspace}}/build -DPICO_BOARD=pico_w -DPICO_SDK_PATH=../pico-sdk ../
2929

3030
- name: Build
3131
# Build your program with the given configuration
32-
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
32+
run: cmake --build ${{github.workspace}}/build
3333

34-
- name: Test
35-
working-directory: ${{github.workspace}}/build
36-
# Execute tests defined by the CMake configuration.
37-
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
38-
run: ctest -C ${{env.BUILD_TYPE}}
3934

0 commit comments

Comments
 (0)