Browse Source

.github: migrate semaphore to github actions

gps-1.3.1
Pierre Kancir 3 years ago committed by Peter Barker
parent
commit
920ccb089f
  1. 6
      .github/workflows/test_chibios.yml
  2. 17
      .github/workflows/test_linux_sbc.yml
  3. 1
      .github/workflows/test_unit_tests.yml

6
.github/workflows/test_chibios.yml

@ -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

17
.github/workflows/test_linux_sbc.yml

@ -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

1
.github/workflows/test_unit_tests.yml

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

Loading…
Cancel
Save