@@ -26,17 +26,28 @@ jobs:
2626 steps :
2727 - uses : actions/checkout@v4
2828 - name : install build packages
29- run : sudo apt-get update && sudo apt-get install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib
29+ run : sudo apt-get update && sudo apt-get install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi g++ libstdc++-arm-none-eabi-newlib build-essential
3030
31- - name : Get sdk and add PICO_SDK_PATH
31+ - name : Get SDK and add PICO_SDK_PATH
3232 run : cd /tmp && git clone https://github.com/raspberrypi/pico-sdk.git && echo "PICO_SDK_PATH=/tmp/pico-sdk" >> $GITHUB_ENV
33+
34+ - name : Init submodules to get tinyUSB stack
35+ run : git submodule update --init
36+
37+ - name : Configure and run CMake Rev0.3
38+ # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
39+ # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
40+ run : cmake -B ${{github.workspace}}/Software/build-Rev-0_3 -S ${{github.workspace}}/Software -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPICO_BOARD=RP2040-Decoder-board-Rev-0_3
41+
42+ - name : Build Rev0.3
43+ # Build your program with the given configuration
44+ run : cmake --build ${{github.workspace}}/Software/build-Rev-0_3 --config ${{env.BUILD_TYPE}}
3345
34- - name : Configure CMake
46+ - name : Configure and run CMake Rev1.0
3547 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
3648 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
37- run : cmake -B ${{github.workspace}}/Software/build -S ${{github.workspace}}/Software -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
49+ run : cmake -B ${{github.workspace}}/Software/build-Rev-1_0 -S ${{github.workspace}}/Software -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPICO_BOARD=RP2040-Decoder-board-Rev-1_0
3850
39- - name : Build
51+ - name : Build Rev1.0
4052 # Build your program with the given configuration
41- run : cmake --build ${{github.workspace}}/Software/build --config ${{env.BUILD_TYPE}}
42-
53+ run : cmake --build ${{github.workspace}}/Software/build-Rev-1_0 --config ${{env.BUILD_TYPE}}
0 commit comments