-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actions: Add main-yml action configuration
- Loading branch information
Showing
8 changed files
with
51 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
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 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
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 | ||
protobuf==3.15.3 | ||
SCons==4.1.0.post1 | ||
tqdm==4.57.0 | ||
colorama==0.4.4 |