Skip to content

Commit 2fedb01

Browse files
committed
actions: Add main-yml action configuration
1 parent d2e636b commit 2fedb01

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.github/workflows/main.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
21+
- name: Install python venv & dependencies
22+
run: |
23+
python -m venv venv
24+
source venv/bin/activate
25+
pip install -r requirements.txt
26+
27+
- name: Select the port
28+
run: defconfig config/nwdaq_br28_fdc_defconfig
29+
30+
- name: Compile
31+
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)