This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
release: v0.7.0 #1242
Workflow file for this run
This file contains 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: Build test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: zephyrprojectrtos/ci:v0.26.4 | |
env: | |
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.1 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: modules/lib/golioth | |
- name: Init and update west | |
run: | | |
mkdir -p .west | |
cat <<EOF > .west/config | |
[manifest] | |
path = modules/lib/golioth | |
file = .ci-west-zephyr.yml | |
EOF | |
west update -o=--depth=1 -n | |
git config --global user.email [email protected] | |
git config --global user.name "Git User" | |
west patch | |
- name: Download binary blobs | |
run: | | |
west blobs fetch hal_espressif | |
- name: Run twister (non goliothd) | |
run: > | |
zephyr/scripts/twister | |
--no-clean | |
-e goliothd | |
-p esp32_devkitc_wroom | |
-p nrf52840dk_nrf52840 | |
-p qemu_x86 | |
-o reports/non_goliothd | |
-T modules/lib/golioth | |
- name: Run twister (goliothd) | |
run: > | |
zephyr/scripts/twister | |
--no-clean | |
-t goliothd -b | |
-p esp32_devkitc_wroom | |
-p nrf52840dk_nrf52840 | |
-p qemu_x86 | |
-o reports/goliothd | |
-T modules/lib/golioth | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
if: ${{ always() }} | |
with: | |
name: twister-artifacts | |
path: | | |
reports/* | |
twister-out/**/*.log |