Skip to content

Commit

Permalink
actions: Add main-yml action configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
iqyx committed Apr 5, 2024
1 parent d2e636b commit 46e42e5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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-x86_64-arm-none-eabi/bin" >> $GITHUB_PATH

- name: Checkout
uses: actions/checkout@v4


- 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
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
gitdb==4.0.5
GitPython==3.1.14
pyaml==20.4.0
PyYAML==5.4.1
PyYAML==6.0.1
six==1.15.0
smmap==3.0.5
kconfiglib==14.1.0
Expand Down

0 comments on commit 46e42e5

Please sign in to comment.