mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 02:14:07 +08:00
ci: test supported ubuntu versions
This commit is contained in:
parent
d42eafe309
commit
0f7869691d
41
.github/workflows/test_setup_tools.yml
vendored
Normal file
41
.github/workflows/test_setup_tools.yml
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
# NOTE: this workflow is now running on Dronecode / PX4 AWS account.
|
||||
# - If you want to keep the tests running in GitHub Actions you need to uncomment the "runs-on: ubuntu-latest" lines
|
||||
# and comment the "runs-on: [runs-on,runner=..." lines.
|
||||
# - If you would like to duplicate this setup try setting up "RunsOn" on your own AWS account try https://runs-on.com
|
||||
|
||||
name: Setup Tools Test (Ubuntu)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'stable'
|
||||
- 'beta'
|
||||
- 'release/*'
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
ubuntu-run:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
version: [22, 24]
|
||||
# runs-on: ubuntu-latest
|
||||
runs-on: [runs-on,runner=8cpu-linux-x64,"image=ubuntu${{ matrix.version }}-full-x64","run-id=${{ github.run_id }}"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
# - name: ownership workaround
|
||||
# run: git config --system --add safe.directory '*'
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
./Tools/setup/ubuntu.sh
|
||||
|
||||
- name: Make Default Build
|
||||
run: |
|
||||
make px4_sitl_default
|
||||
Loading…
x
Reference in New Issue
Block a user