.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, iofirmware,
CubeOrange-bootloader, CubeOrange-bootloader,
revo-bootloader, revo-bootloader,
stm32h7-debug stm32h7-debug,
fmuv3,
revo-mini,
MatekF405-Wing,
configure-all
] ]
toolchain: [ toolchain: [
chibios, # GCC-6 chibios, # GCC-6

View File

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

View File

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