mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
CI: use 16-core runs-on runner for clang-tidy workflow
The free GitHub runner (4 vCPUs) takes ~22 minutes. Switch to a 16-core runs-on runner and bump parallelism to -j16 to reduce clang-tidy analysis time. Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: [runs-on, runner=16cpu-linux-x64, "run-id=${{ github.run_id }}"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -28,4 +28,4 @@ jobs:
|
|||||||
options: -v ${{ github.workspace }}:/workspace
|
options: -v ${{ github.workspace }}:/workspace
|
||||||
run: |
|
run: |
|
||||||
cd /workspace
|
cd /workspace
|
||||||
make clang-tidy
|
make -j16 clang-tidy
|
||||||
|
|||||||
Reference in New Issue
Block a user