-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (33 loc) · 1008 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build
on:
pull_request:
branches: [ "github_build" ]
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:
name: Compilation
path: build/release/Wireless_neuron_final.hex