mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +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:
parent
385450ca37
commit
021eee0c5c
4
.github/workflows/clang-tidy.yml
vendored
4
.github/workflows/clang-tidy.yml
vendored
@ -14,7 +14,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [runs-on, runner=16cpu-linux-x64, "run-id=${{ github.run_id }}"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@ -28,4 +28,4 @@ jobs:
|
||||
options: -v ${{ github.workspace }}:/workspace
|
||||
run: |
|
||||
cd /workspace
|
||||
make clang-tidy
|
||||
make -j16 clang-tidy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user