Propogate changed pico_cmake_set_default values to the compilation (#… #313
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build on Windows | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - 'develop' | |
| - 'master' | |
| - 'test_workflow' | |
| jobs: | |
| build: | |
| runs-on: windows-2022 | |
| steps: | |
| - name: Clean workspace | |
| shell: bash | |
| run: | | |
| echo "Cleaning up previous run" | |
| rm -rf "${{ github.workspace }}/pico-sdk" | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Checkout submodules | |
| run: git submodule update --init | |
| - name: Install dependencies | |
| run: choco install .github/workflows/choco_packages.config | |
| - name: Build Project | |
| shell: pwsh | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake .. -G Ninja -DPICO_SDK_TESTS_ENABLED=1 -DCMAKE_BUILD_TYPE=Debug -DPICO_BOARD=pico_w | |
| cmake --build . |