From 0f7869691deaafea16ea68dc8b2005bdec7725d8 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Mon, 30 Sep 2024 07:47:04 -0700 Subject: [PATCH] ci: test supported ubuntu versions --- .github/workflows/test_setup_tools.yml | 41 ++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/test_setup_tools.yml diff --git a/.github/workflows/test_setup_tools.yml b/.github/workflows/test_setup_tools.yml new file mode 100644 index 0000000000..89da107694 --- /dev/null +++ b/.github/workflows/test_setup_tools.yml @@ -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