diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f9b2241..edd2153 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/west.yml b/west.yml index 0f39a1f..04d4457 100644 --- a/west.yml +++ b/west.yml @@ -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