mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-19 07:01:25 +01: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: 543bf3b993
This commit is contained in:
41
.github/workflows/codeql-analysis.yml
vendored
41
.github/workflows/codeql-analysis.yml
vendored
@@ -75,9 +75,46 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
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: |
|
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
|
- name: Get Git commit of vcpkg submodule
|
||||||
run: echo VCPKG_COMMIT=$(git ls-tree HEAD vcpkg | awk '{print $3}') >> ${GITHUB_ENV}
|
run: echo VCPKG_COMMIT=$(git ls-tree HEAD vcpkg | awk '{print $3}') >> ${GITHUB_ENV}
|
||||||
|
|||||||
Reference in New Issue
Block a user