Modified samples to support samd on adafruit metro m4 boards #65
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: Zephyr OS CMake | |
| on: | |
| push: | |
| branches: [ "default" ] | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: zephyrprojectrtos/ci:latest | |
| env: | |
| CMAKE_PREFIX_PATH: /opt/toolchains | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| path: bacnet | |
| - name: Initialize | |
| working-directory: bacnet | |
| run: | | |
| west init -l . | |
| west update | |
| - name: Samples - Hello World | |
| working-directory: bacnet | |
| run: | | |
| pwd | |
| west build -p always -b native_posix ./zephyr/samples/hello_bacnet_stack | |
| - name: Samples - BACnet Profile B-SS | |
| working-directory: bacnet | |
| run: | | |
| pwd | |
| west build -b nucleo_f429zi -p always ./zephyr/samples/profiles/b-ss | |
| - name: Archive Firmware | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: firmware | |
| path: bacnet/build | |
| - name: Twister Tests unit_testing | |
| working-directory: bacnet | |
| run: | | |
| pwd | |
| ./unittest.sh | |
| - name: Archive Test Results | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: unit_testing | |
| path: bacnet/twister-out.unit_testing |