mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
# 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
|