Skip to content

Commit

Permalink
WIP: test if we can use pure zephyr without ncs
Browse files Browse the repository at this point in the history
  • Loading branch information
gumulka committed Aug 21, 2024
1 parent b2cf5b0 commit 34edd0b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 27 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,25 @@ on:
jobs:
build:
runs-on: ubuntu-22.04
container: ghcr.io/zephyrproject-rtos/ci:v0.26.5
env:
CMAKE_PREFIX_PATH: /opt/toolchains
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: thingsboard

- name: Initialize
run: |
west init -l thingsboard
west update -o=--depth=1 -n
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Install Python Dependencies
run: pip install -r thingsboard/scripts/requirements.txt
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: thingsboard
toolchains: arm-zephyr-eabi

- name: Twister Tests
# bash is needed for source to be working
working-directory: thingsboard
shell: bash
run: |
source zephyr/zephyr-env.sh
zephyr/scripts/twister -i -T thingsboard
west twister -T tests -v --inline-logs --integration
15 changes: 0 additions & 15 deletions west.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
manifest:
defaults:
remote: github

remotes:
- name: github
url-base: https://github.com/

projects:
- name: nrf
remote: github
repo-path: nrfconnect/sdk-nrf
revision: v2.7.0
path: nrf
import: true

self:
path: modules/thingsboard

0 comments on commit 34edd0b

Please sign in to comment.