ci: test supported ubuntu versions

This commit is contained in:
Ramon Roche 2024-09-30 07:47:04 -07:00
parent d42eafe309
commit 0f7869691d
No known key found for this signature in database
GPG Key ID: 275988FAE5821713

41
.github/workflows/test_setup_tools.yml vendored Normal file
View 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