1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

Merge pull request from tenacityteam/codeql-gcc11

Make CodeQL analysis use GCC 11

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/390
This commit is contained in:
Emily Mabrey 2021-07-26 20:21:54 -04:00 committed by GitHub
commit d8e17c5e67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,13 @@ jobs:
language: 'cpp' # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
steps:
# Setup 64-bit GCC 11
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
platform: x64
version: 11
- name: Checkout repository
uses: actions/checkout@v2
- name: Dependencies
@ -91,8 +97,6 @@ jobs:
APPLE_CODESIGN_IDENTITY: ${{ secrets.APPLE_CODESIGN_IDENTITY }}
APPLE_NOTARIZATION_USER_NAME: ${{ secrets.APPLE_NOTARIZATION_USER_NAME }}
APPLE_NOTARIZATION_PASSWORD: ${{ secrets.APPLE_NOTARIZATION_PASSWORD }}
CC: ${{ matrix.config.cc }}
CXX: ${{ matrix.config.cxx }}
run: |
exec bash "scripts/ci/configure.sh"
# Initializes the CodeQL tools for scanning.
@ -107,9 +111,6 @@ jobs:
- name: Build
run: |
exec bash "scripts/ci/build.sh"
- name: Install
run: |
exec bash "scripts/ci/install.sh"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1