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

17
.github/workflows/test_linux_sbc.yml

@ -16,7 +16,16 @@ jobs: @@ -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: @@ -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: @@ -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

1
.github/workflows/test_unit_tests.yml

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

Loading…
Cancel
Save