Bump external/googletest from 35d0c36
to 7d76a23
#461
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CodeQL" | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: '0 16 * * 6' | |
jobs: | |
analyze_main: | |
name: Analyze Local | |
if: github.repository_owner == 'ParadoxGameConverters' | |
runs-on: [self-hosted, linux] | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ['cpp'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Build solution | |
run: | | |
cmake --preset x64-release-linux | |
cmake --build --preset build-x64-release-linux --target CommonItemsTests -- -j40 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
- name: Cleanup | |
uses: colpal/actions-clean@v1 | |
if: always() | |
analyze: | |
name: Analyze | |
if: github.repository_owner != 'ParadoxGameConverters' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'cpp' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- run: | | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
sudo apt-get update | |
sudo apt-get install gcc-11 g++-11 | |
sudo apt-get install libgtest-dev | |
sudo ln -s /usr/bin/gcc-11 /usr/local/bin/gcc | |
sudo ln -s /usr/bin/g++-11 /usr/local/bin/g++ | |
cmake --preset x64-release-linux | |
cmake --build --preset build-x64-release-linux --target commonLib CommonItemsTests -- -j40 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |