mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
.github: use periph image for periph tests
This commit is contained in:
parent
a694b68519
commit
fa497363e8
14
.github/workflows/test_sitl_periph.yml
vendored
14
.github/workflows/test_sitl_periph.yml
vendored
@ -28,7 +28,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
build-gcc-ap_periph:
|
build-gcc-ap_periph:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: ardupilot/ardupilot-dev-base:latest
|
container: ardupilot/ardupilot-dev-periph:latest
|
||||||
steps:
|
steps:
|
||||||
# git checkout the PR
|
# git checkout the PR
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -49,11 +49,6 @@ jobs:
|
|||||||
- name: setup ccache
|
- name: setup ccache
|
||||||
run: |
|
run: |
|
||||||
. .github/workflows/ccache.env
|
. .github/workflows/ccache.env
|
||||||
- name: install 32-bit libraries
|
|
||||||
run: |
|
|
||||||
dpkg --add-architecture i386
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y gcc-multilib g++-multilib
|
|
||||||
|
|
||||||
- name: run dronecan dsdlc generator test
|
- name: run dronecan dsdlc generator test
|
||||||
run: |
|
run: |
|
||||||
@ -74,7 +69,7 @@ jobs:
|
|||||||
needs: build-gcc-ap_periph # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
needs: build-gcc-ap_periph # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container:
|
container:
|
||||||
image: ardupilot/ardupilot-dev-base:latest
|
image: ardupilot/ardupilot-dev-periph:latest
|
||||||
options: --privileged
|
options: --privileged
|
||||||
strategy:
|
strategy:
|
||||||
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
|
||||||
@ -103,11 +98,6 @@ jobs:
|
|||||||
- name: setup ccache
|
- name: setup ccache
|
||||||
run: |
|
run: |
|
||||||
. .github/workflows/ccache.env
|
. .github/workflows/ccache.env
|
||||||
- name: install 32-bit libraries
|
|
||||||
run: |
|
|
||||||
sudo dpkg --add-architecture i386
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y gcc-multilib g++-multilib
|
|
||||||
- name: setup can-utils
|
- name: setup can-utils
|
||||||
run: |
|
run: |
|
||||||
kernel_ver=`uname -r`
|
kernel_ver=`uname -r`
|
||||||
|
Loading…
Reference in New Issue
Block a user