mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 23:59:37 +02:00
Make CodeQL analysis use GCC 11
Use an action to automatically install GCC 11 on the CI env. Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
This commit is contained in:
parent
8a0502febd
commit
c22d78cb19
13
.github/workflows/codeql-analysis.yml
vendored
13
.github/workflows/codeql-analysis.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user