Skip to content

Commit 432afd4

Browse files
committed
actions: Add main-yml action configuration
1 parent d2e636b commit 432afd4

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

.github/workflows/main.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
on:
2+
push:
3+
branches:
4+
- develop
5+
- feature/*
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
name: build
11+
runs-on: arm-none-eabi-gcc
12+
steps:
13+
14+
- name: Setup arm-none-eabi-gcc path
15+
run: echo "/opt/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/bin" >> $GITHUB_PATH
16+
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- run: |
21+
git fetch --prune --unshallow --no-recurse-submodules
22+
git branch develop
23+
git branch -u origin/develop develop
24+
git branch master
25+
git branch -u origin/master master
26+
27+
- name: Install python venv & dependencies
28+
run: |
29+
python -m venv venv
30+
source venv/bin/activate
31+
pip install -r requirements.txt
32+
echo PATH=$PATH >> $GITHUB_ENV
33+
echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV
34+
35+
- name: Select the port
36+
run: defconfig config/nwdaq_br28_fdc_defconfig
37+
38+
- name: Compile
39+
run: scons firmware

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
gitdb==4.0.5
22
GitPython==3.1.14
33
pyaml==20.4.0
4-
PyYAML==5.4.1
4+
PyYAML==6.0.1
55
six==1.15.0
66
smmap==3.0.5
77
kconfiglib==14.1.0

0 commit comments

Comments
 (0)