From 29b339436c6ca47c27f29f4a1b48e9444409548a Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Sun, 23 Apr 2023 10:23:50 -0700 Subject: [PATCH] Update main.yml Try using 16-core runners for static analysis --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8ca583..6fd2817 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -306,7 +306,7 @@ jobs: JOB_TYPE: COVERITY if: github.repository_owner == 'LongSoft' && github.event_name != 'pull_request' name: Coverity Static Analysis - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest-16-cores steps: - uses: actions/checkout@v3 - name: Install Qt @@ -327,12 +327,12 @@ jobs: env: COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} COVERITY_SCAN_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }} - COVERITY_BUILD_COMMAND: cmake --build . --parallel + COVERITY_BUILD_COMMAND: cmake --build . build_analyze_linux_pvs_studio_and_codeql: if: github.repository_owner == 'LongSoft' && github.event_name != 'pull_request' name: PVS-Studio and CodeQL Static Analysis - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest-16-cores steps: - uses: actions/checkout@v3 - name: Install Qt @@ -357,7 +357,7 @@ jobs: - name: Build everything run: | cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=On -B build . - cmake --build build --parallel + cmake --build build - name: Perform CodeQL analysis uses: github/codeql-action/analyze@v2 - name: Perform PVS-Studio analysis @@ -413,7 +413,7 @@ jobs: - name: Run build-wrapper run: | cmake -B build . - build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build -j + build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build - name: Run sonar-scanner env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}