mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 23:29:41 +02:00
CI: Use scoop instead of choco
Signed-off-by: Edgar <Edgar@AnotherFoxGuy.com> Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
This commit is contained in:
parent
807b710c74
commit
3446825971
13
.github/workflows/cmake_build.yml
vendored
13
.github/workflows/cmake_build.yml
vendored
@ -90,7 +90,6 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
|
||||
- name: Install Nuget
|
||||
uses: nuget/setup-nuget@v1
|
||||
with:
|
||||
@ -109,9 +108,21 @@ jobs:
|
||||
JFROG_ARTIFACTORY_NUGET_TOKEN: ${{secrets.JFROG_ARTIFACTORY_NUGET_TOKEN}}
|
||||
|
||||
- name: Install dependencies
|
||||
if: runner.os != 'Windows'
|
||||
run: |
|
||||
exec bash "scripts/ci/dependencies.sh"
|
||||
|
||||
- name: "[Windows] Install dependencies"
|
||||
if: runner.os == 'Windows'
|
||||
shell: pwsh
|
||||
env:
|
||||
# Install path of scoop
|
||||
SCOOP: C:\Scoop\
|
||||
run: |
|
||||
echo "C:\Scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
iwr -useb get.scoop.sh | iex
|
||||
scoop install sccache
|
||||
|
||||
- name: Install Apple codesigning certificates
|
||||
uses: apple-actions/import-codesign-certs@v1
|
||||
if: startswith( matrix.config.os, 'macos' ) && github.repository_owner == 'tenacityteam' && github.event_name == 'create' && github.event.ref_type == 'tag'
|
||||
|
@ -4,22 +4,7 @@
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
if [[ "${OSTYPE}" == msys* ]]; then # Windows
|
||||
|
||||
if which choco; then
|
||||
|
||||
# Chocolatey packages
|
||||
choco_packages=(
|
||||
sccache
|
||||
)
|
||||
|
||||
choco install "${choco_packages[@]}" -y
|
||||
else
|
||||
echo >&2 "$0: Error: You don't have a recognized package manager installed."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
elif [[ "${OSTYPE}" == darwin* ]]; then # macOS
|
||||
if [[ "${OSTYPE}" == darwin* ]]; then # macOS
|
||||
|
||||
# Homebrew packages
|
||||
brew_packages=(
|
||||
|
Loading…
x
Reference in New Issue
Block a user