mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
Fix Windows CI build (#1846)
* Use powershell for windows CI build * Remove unnecessary warning
This commit is contained in:
parent
cd71c8953e
commit
8886f272a9
2 changed files with 2 additions and 3 deletions
3
.github/workflows/windows.yml
vendored
3
.github/workflows/windows.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ function(pico_add_dis_output TARGET)
|
|||
add_custom_command(TARGET ${TARGET} POST_BUILD
|
||||
COMMAND ${CMAKE_OBJDUMP} -h $<TARGET_FILE:${TARGET}> > ${output_path}$<IF:$<BOOL:$<TARGET_PROPERTY:${TARGET},OUTPUT_NAME>>,$<TARGET_PROPERTY:${TARGET},OUTPUT_NAME>,$<TARGET_PROPERTY:${TARGET},NAME>>.dis
|
||||
COMMAND ${CMAKE_OBJDUMP} -d $<TARGET_FILE:${TARGET}> >> ${output_path}$<IF:$<BOOL:$<TARGET_PROPERTY:${TARGET},OUTPUT_NAME>>,$<TARGET_PROPERTY:${TARGET},OUTPUT_NAME>,$<TARGET_PROPERTY:${TARGET},NAME>>.dis
|
||||
${EXTRA_COMMAND} || ${CMAKE_COMMAND} -E echo "WARNING: Disassembly is not correct"
|
||||
${EXTRA_COMMAND}
|
||||
VERBATIM
|
||||
)
|
||||
endfunction()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue