mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 15:49:36 +02:00
Fix workflows/codeql-analysis.yml
The CodeQL workflow also needs the dependency logic change from previous removal Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com> Reference-to: 543bf3b99313a010bfbea89b9775fc3f4cf85cb2
This commit is contained in:
parent
35d059c965
commit
a1cfcceaff
41
.github/workflows/codeql-analysis.yml
vendored
41
.github/workflows/codeql-analysis.yml
vendored
@ -75,9 +75,46 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
- name: "[Linux] Install dependencies"
|
||||
if: runner.os == 'Linux'
|
||||
run: >-
|
||||
sudo apt-get update &&
|
||||
sudo apt-get install -y --no-install-recommends
|
||||
file
|
||||
g++
|
||||
ninja-build
|
||||
nasm
|
||||
git
|
||||
wget
|
||||
bash
|
||||
scdoc
|
||||
ccache
|
||||
debhelper-compat
|
||||
gettext
|
||||
libasound2-dev
|
||||
libgtk-3-dev
|
||||
libsuil-dev
|
||||
gettext
|
||||
|
||||
- name: "[MacOS] Install dependencies"
|
||||
if: runner.os == 'macOS'
|
||||
run: >-
|
||||
brew install
|
||||
bash
|
||||
ccache
|
||||
ninja
|
||||
nasm
|
||||
|
||||
- name: "[Windows] Install dependencies"
|
||||
if: runner.os == 'Windows'
|
||||
shell: pwsh
|
||||
env:
|
||||
# Install path of scoop
|
||||
SCOOP: C:\Scoop\
|
||||
run: |
|
||||
exec bash "scripts/ci/dependencies.sh"
|
||||
echo "C:\Scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
iwr -useb get.scoop.sh | iex
|
||||
scoop install sccache
|
||||
|
||||
- name: Get Git commit of vcpkg submodule
|
||||
run: echo VCPKG_COMMIT=$(git ls-tree HEAD vcpkg | awk '{print $3}') >> ${GITHUB_ENV}
|
||||
|
Loading…
x
Reference in New Issue
Block a user