Skip to content

Commit

Permalink
CI: test_environment.yml: sync with master
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Nov 21, 2023
1 parent cd97fc5 commit 3b70c82
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/test_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
- master
paths:
- '.github/workflows/test_environment.yml'
- 'Tools/scripts/environment_install/**'
- 'Tools/environment_install/**'

pull_request:
paths:
- '.github/workflows/test_environment.yml'
- 'Tools/scripts/environment_install/**'
- 'Tools/environment_install/**'


concurrency:
Expand All @@ -23,7 +23,7 @@ concurrency:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: ${{matrix.os}}:${{matrix.name}}
options: --privileged
Expand All @@ -32,11 +32,15 @@ jobs:
matrix:
include:
- os: ubuntu
name: bionic
- os: ubuntu
name: focal
- os: ubuntu
name: hirsute
name: jammy
- os: ubuntu
name: lunar
- os: ubuntu
name: mantic
- os: archlinux
name: latest
- os: debian
Expand Down Expand Up @@ -69,7 +73,7 @@ jobs:
software-properties-common
;;
*"archlinux"*)
pacman -Sy --noconfirm --needed git sudo
pacman -Syu --noconfirm --needed git sudo
;;
esac
Expand All @@ -78,7 +82,7 @@ jobs:
with:
submodules: 'recursive'
- name: test install environment ${{matrix.os}}.${{matrix.name}}
timeout-minutes: 30
timeout-minutes: 45
env:
DISABLE_MAVNATIVE: True
DEBIAN_FRONTEND: noninteractive
Expand Down Expand Up @@ -116,6 +120,7 @@ jobs:
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
source ~/.bashrc
source $HOME/venv-ardupilot/bin/activate || true
git config --global --add safe.directory /__w/ardupilot/ardupilot
./waf configure
./waf rover
Expand All @@ -129,6 +134,7 @@ jobs:
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
source ~/.bashrc
source $HOME/venv-ardupilot/bin/activate || true
case ${{matrix.os}} in
*"archlinux"*)
export PATH=/opt/gcc-arm-none-eabi-10-2020-q4-major/bin:$PATH
Expand Down

0 comments on commit 3b70c82

Please sign in to comment.