-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05816d0
commit 09555f1
Showing
7 changed files
with
46 additions
and
205 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,31 @@ | ||
name: Build for all targets | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- devel | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/lnls-dig/openmmc-builder:latest | ||
strategy: | ||
matrix: | ||
build-flags: | ||
- { flags: -DBOARD=afc-bpm -DVERSION=3.1 } | ||
- { flags: -DBOARD=afc-timing -DBOARD_RTM=8sfp } | ||
- { flags: -DBOARD=afc-v4 } | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Create build environment | ||
run: mkdir build | ||
- name: Configure CMake | ||
working-directory: build | ||
run: cmake .. -DDEBUG_PROBE=jlink -DCMAKE_BUILD_TYPE=RELWITHDEBINFO ${{matrix.build-flags.flags}} | ||
- name: Build for all targets | ||
working-directory: build | ||
run: make |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
FROM docker.io/debian:12 | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y \ | ||
make \ | ||
gcc-arm-none-eabi \ | ||
libnewlib-arm-none-eabi \ | ||
libstdc++-arm-none-eabi-dev \ | ||
binutils-arm-none-eabi \ | ||
cmake \ | ||
doxygen \ | ||
git \ | ||
g++ | ||
RUN arm-none-eabi-gcc -v |