.github: migrate semaphore to github actions

This commit is contained in:
Pierre Kancir 2021-09-01 11:18:06 +02:00 committed by Peter Barker
parent eb9b29f84b
commit 920ccb089f
3 changed files with 21 additions and 3 deletions

View File

@ -24,7 +24,11 @@ jobs:
iofirmware,
CubeOrange-bootloader,
revo-bootloader,
stm32h7-debug
stm32h7-debug,
fmuv3,
revo-mini,
MatekF405-Wing,
configure-all
]
toolchain: [
chibios, # GCC-6

View File

@ -16,7 +16,16 @@ jobs:
fail-fast: false # don't cancel if a job from the matrix fails
matrix:
config: [
navigator
linux,
navigator,
navio,
navio2,
bbbmini,
bhat,
bebop,
erlebrain2,
pxfmini,
pxf
]
toolchain: [
armhf,
@ -24,9 +33,13 @@ jobs:
include:
- config: navigator
toolchain: armhf-musl
- config: linux
toolchain: base # GCC
exclude:
- config: navigator
toolchain: armhf
- config: linux
toolchain: armhf
steps:
# git checkout the PR
@ -59,7 +72,7 @@ jobs:
CI_BUILD_TARGET: ${{matrix.config}}
shell: bash
run: |
if [[ ${{ matrix.toolchain }} == ",clang" ]]; then
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
fi

View File

@ -24,6 +24,7 @@ jobs:
config: [
unit-tests,
python-cleanliness,
sitl
# examples,
]
steps: