Files
bacnet_stack/.github/workflows/zephyr.yml
T
dependabot[bot] 0728bc4390 Bump actions/upload-artifact from 2 to 3 (#366)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 11:28:36 -06:00

36 lines
901 B
YAML

name: Zephyr OS CMake
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container: zephyrprojectrtos/ci:latest
env:
CMAKE_PREFIX_PATH: /opt/toolchains
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: bacnet-stack
- name: Initialize
working-directory: bacnet-stack
run: |
west init -l .
west update
- name: Build firmware
working-directory: bacnet-stack
run: |
west build -b mimxrt1064_evk ../zephyr/samples/hello_world
# - name: Twister Tests
# working-directory: bacnet-stack
# run: |
# ../zephyr/scripts/twister -T ../zephyr/tests/misc/test_build
- name: Archive firmware
uses: actions/upload-artifact@v3
with:
name: firmware
path: bacnet-stack/build/zephyr/zephyr.*