This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
Fix config host connection parsing on uhk 60 #263
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: CI | |
on: | |
push: | |
branches: | |
- master* | |
pull_request: | |
branches: | |
- master* | |
jobs: | |
release: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 25 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: firmware-uhk80 | |
submodules: recursive | |
token: '${{ secrets.FIRMWARE80_BUILD }}' | |
- name: Install build dependencies | |
run: sudo apt-get install -y gcc-arm-none-eabi | |
- name: Install west | |
run: pip3 install --user -U west | |
- name: Install python dependencies of scripts | |
run: | | |
cd firmware-uhk80/scripts | |
pip install -r requirements.txt | |
- name: Setup Zephyr project | |
uses: zephyrproject-rtos/action-zephyr-setup@v1 | |
with: | |
app-path: firmware-uhk80 | |
toolchains: arm-zephyr-eabi | |
sdk-version: 0.16.8 | |
- name: Git user setup | |
run: | | |
git config --global user.email "git-patch@uhk.com" | |
git config --global user.name "Git Patch" | |
- name: West patch | |
run: west patch | |
- name: West config | |
run: west config --local build.cmake-args -- "-Wno-dev" | |
- name: Use Node.js (.nvmrc) | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: firmware-uhk80/scripts/.nvmrc | |
- name: Install node dependencies in scripts folder | |
run: | | |
cd firmware-uhk80/scripts | |
npm install | |
- name: Create firmware tarball | |
run: | | |
cd firmware-uhk80 | |
scripts/make-release.mjs --allowSha | |
- name: Upload firmware artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: firmware | |
path: firmware-uhk80/scripts/uhk-firmware-*.tar.gz | |
compression-level: 0 | |
retention-days: 10 |