Skip to content

Commit 8acffd4

Browse files
committed
actions: Add main-yml action configuration
1 parent d2e636b commit 8acffd4

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/main.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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 dependencies
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.9'
25+
cache: 'pip'
26+
- run: pip install -r requirements.txt
27+
28+
- name: Select the port
29+
run: defconfig config/nwdaq_br28_fdc_defconfig
30+
31+
- name: Compile
32+
run: scons firmware

0 commit comments

Comments
 (0)