Skip to content

Build

Build #21

Workflow file for this run

name: Build
on:
pull_request:
branches: [ "main" ]
workflow_dispatch:
inputs:
version:
description: 'FMW version'
required: true
type: string
env:
FIRMWARE_VERSION: ${{ github.event.inputs.version }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- uses: ./.github/actions/setup
- name: Get Nordic SDK
run: |
mkdir -p libraries/SDK
wget https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/sdks/nrf5/binaries/nrf5_sdk_17.1.0_ddde560.zip
unzip nrf5_sdk_17.1.0_ddde560.zip -d libraries/SDK
- name: Build
run: cd build; make -j4 release
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
path: build/release/Wireless_neuron_final.hex