native_posix_64 board #18
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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: ghcr.io/zephyrproject-rtos/ci:v0.26.2 | |
env: | |
CMAKE_PREFIX_PATH: /opt/toolchains | |
ZEPHYR_VERSION: 3.6.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Initialize | |
run: | | |
cd /tmp/ | |
west init --mr v$ZEPHYR_VERSION | |
west update -o=--depth=1 -n | |
- name: Build | |
working-directory: /tmp/ | |
run: | | |
west build $GITHUB_WORKSPACE/samples/uptime -b native_posix_64 --build-dir $GITHUB_WORKSPACE/build | |
- name: check build | |
run: | | |
ls | |
- name : Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: posix-build | |
path: | | |
build/zephyr/zephyr.exe | |
test: | |
needs: build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Dependencies | |
run: | | |
python3 -m pip install bumble==0.0.190 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run Test | |
run: | | |
python3 test/bumble/controllers.py tcp-server:_:9000 tcp-server:_:9001 & | |
sleep 5 | |