diff --git a/.github/workflows/build-gpio_iotoggle.yml b/.github/workflows/build-gpio_iotoggle.yml new file mode 100644 index 0000000..9119098 --- /dev/null +++ b/.github/workflows/build-gpio_iotoggle.yml @@ -0,0 +1,41 @@ +# generated with AI +# Adapted by the create-csolution-github-action skill. + +name: Build GPIO_IOToggle + +on: + workflow_dispatch: + pull_request: + push: + branches: [main] + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + name: Build B-U585I-IOT02A + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v7.0.1 + + - name: Installl tools + uses: ARM-software/cmsis-actions/vcpkg@v1.3 + + - name: Build B-U585I-IOT02A + working-directory: "." + run: cbuild GPIO_IOToggle.csolution.yml --active B-U585I-IOT02A --packs + + - name: Upload build artifacts + if: always() + uses: actions/upload-artifact@v7 + with: + name: gpio-iotoggle-b-u585i-iot02a + path: ./out + if-no-files-found: warn diff --git a/vcpkg-configuration.json b/vcpkg-configuration.json index 166b54b..807b07f 100644 --- a/vcpkg-configuration.json +++ b/vcpkg-configuration.json @@ -7,8 +7,9 @@ } ], "requires": { - "arm:compilers/arm/arm-none-eabi-gcc": "15.3.1", - "arm:tools/kitware/cmake": "4.3.3", - "arm:tools/ninja-build/ninja": "1.13.2" + "arm:compilers/arm/arm-none-eabi-gcc": "^15.3.1", + "arm:tools/kitware/cmake": "^4.3.3", + "arm:tools/ninja-build/ninja": "^1.13.2", + "arm:tools/open-cmsis-pack/cmsis-toolbox": "^2.15.0" } -} \ No newline at end of file +}