From 8886f272a9538163d2eecb635defaa02c8907f37 Mon Sep 17 00:00:00 2001 From: will-v-pi <108662275+will-v-pi@users.noreply.github.com> Date: Mon, 19 Aug 2024 18:49:54 +0100 Subject: [PATCH] Fix Windows CI build (#1846) * Use powershell for windows CI build * Remove unnecessary warning --- .github/workflows/windows.yml | 3 +-- src/cmake/on_device.cmake | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 8ed2a033f..dc26d905f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -24,8 +24,7 @@ jobs: run: choco install .github/workflows/choco_packages.config - name: Build Project - # bash required otherwise this mysteriously (no error) fails at "Generating cyw43_bus_pio_spi.pio.h" - shell: bash + shell: pwsh run: | mkdir build cd build diff --git a/src/cmake/on_device.cmake b/src/cmake/on_device.cmake index 3b2d8869a..b9bd6398f 100644 --- a/src/cmake/on_device.cmake +++ b/src/cmake/on_device.cmake @@ -40,7 +40,7 @@ function(pico_add_dis_output TARGET) add_custom_command(TARGET ${TARGET} POST_BUILD COMMAND ${CMAKE_OBJDUMP} -h $ > ${output_path}$>,$,$>.dis COMMAND ${CMAKE_OBJDUMP} -d $ >> ${output_path}$>,$,$>.dis - ${EXTRA_COMMAND} || ${CMAKE_COMMAND} -E echo "WARNING: Disassembly is not correct" + ${EXTRA_COMMAND} VERBATIM ) endfunction()