-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (35 loc) · 997 Bytes
/
main.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
42
on:
push:
branches:
- develop
- feature/*
workflow_dispatch:
jobs:
build:
name: build
runs-on: arm-none-eabi-gcc
steps:
- name: Setup arm-none-eabi-gcc path
run: echo "/opt/arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-eabi/bin" >> $GITHUB_PATH
- name: Checkout
uses: actions/checkout@v4
with:
set-safe-directory: false
- run: |
git fetch --prune --unshallow --no-recurse-submodules
git branch develop
git branch -u origin/develop develop
git branch master
git branch -u origin/master master
- name: Install python venv & dependencies
run: |
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
echo PATH=$PATH >> $GITHUB_ENV
echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV
- name: Select the port
run: defconfig config/nwdaq_br28_fdc_defconfig
- name: Compile
run: |
scons firmware