From: Douglas Bagnall Date: Fri, 14 Mar 2025 03:45:18 +0000 (+1300) Subject: .gitlab: CodeQL runner runs a bootstrap.sh X-Git-Tag: tevent-0.17.0~436 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0887c0358e4f297c95e4e40aecb3cbd1f5ab89f1;p=thirdparty%2Fsamba.git .gitlab: CodeQL runner runs a bootstrap.sh Signed-off-by: Douglas Bagnall Reviewed-by: Martin Schwenke --- diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ccb6883cc16..24ed4aa5bd8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,7 +27,7 @@ jobs: # - https://gh.io/supported-runners-and-hardware-resources # - https://gh.io/using-larger-runners (GitHub.com only) # Consider using larger runners or machines with greater resources for possible analysis time improvements. - runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} + runs-on: ubuntu-22.04 permissions: # required for all workflows security-events: write @@ -44,7 +44,7 @@ jobs: matrix: include: - language: c-cpp - build-mode: autobuild + build-mode: manual - language: python build-mode: none # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' @@ -87,12 +87,9 @@ jobs: - if: matrix.build-mode == 'manual' shell: bash run: | - echo 'If you are using a "manual" build mode for one or more of the' \ - 'languages you are analyzing, replace this with the commands to build' \ - 'your code, for example:' - echo ' make bootstrap' - echo ' make release' - exit 1 + bash bootstrap/generated-dists/ubuntu2204/bootstrap.sh + ./configure + make -j4 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3