Skip to content

Commit

Permalink
CI to build for all targets
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavosr8 committed Jun 26, 2023
1 parent 05816d0 commit 09555f1
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 205 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
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
71 changes: 0 additions & 71 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# openMMC

[![Travis build status](https://travis-ci.org/lnls-dig/openMMC.svg?branch=master)](https://travis-ci.org/lnls-dig/openMMC)
[![Continuous Integration Status](https://github.com/lnls-dig/openMMC/actions/workflows/build.yml/badge.svg)](https://github.com/lnls-dig/openMMC/actions)

Open Source modular IPM Controller firmware

Expand Down
86 changes: 0 additions & 86 deletions ci_build.sh

This file was deleted.

25 changes: 0 additions & 25 deletions ci_deploy.sh

This file was deleted.

22 changes: 0 additions & 22 deletions ci_gen_doxy.sh

This file was deleted.

14 changes: 14 additions & 0 deletions docker/Dockerfile
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

0 comments on commit 09555f1

Please sign in to comment.