summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2023-07-07 13:47:59 -0700
committerGravatar GitHub2023-07-07 13:47:59 -0700
commitf80edad10920247fee34422c14b4b22d6228cd14 (patch)
tree4b4fd2f3157ed81514eea9716be6102d9898c5b3
parentMerge pull request #11041 from Morph1984/vksdk (diff)
parentverify: Remove dependence on chocolatey (diff)
downloadyuzu-f80edad10920247fee34422c14b4b22d6228cd14.tar.gz
yuzu-f80edad10920247fee34422c14b4b22d6228cd14.tar.xz
yuzu-f80edad10920247fee34422c14b4b22d6228cd14.zip
Merge pull request #11049 from Morph1984/gha
github: Remove dependence on chocolatey for buildcache
Diffstat (limited to '')
-rw-r--r--.github/workflows/android-build.yml1
-rw-r--r--.github/workflows/verify.yml19
2 files changed, 11 insertions, 9 deletions
diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml
index e639e965a..5893f860e 100644
--- a/.github/workflows/android-build.yml
+++ b/.github/workflows/android-build.yml
@@ -10,6 +10,7 @@ on:
10jobs: 10jobs:
11 android: 11 android:
12 runs-on: ubuntu-latest 12 runs-on: ubuntu-latest
13 if: ${{ github.repository == 'yuzu-emu/yuzu-android' }}
13 steps: 14 steps:
14 - uses: actions/checkout@v3 15 - uses: actions/checkout@v3
15 with: 16 with:
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index 6420fd82b..cbe6b0fbd 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -85,16 +85,17 @@ jobs:
85 restore-keys: | 85 restore-keys: |
86 ${{ runner.os }}-msvc- 86 ${{ runner.os }}-msvc-
87 - name: Install dependencies 87 - name: Install dependencies
88 # due to how chocolatey works, only cmd.exe is supported here 88 shell: pwsh
89 shell: cmd
90 run: | 89 run: |
91 choco install wget 90 $ErrorActionPreference = "Stop"
92 call refreshenv 91 $BuildCacheVer = "v0.28.4"
93 wget https://github.com/mbitsnbites/buildcache/releases/download/v0.27.6/buildcache-windows.zip 92 $File = "buildcache-windows.zip"
94 7z x buildcache-windows.zip 93 $Uri = "https://github.com/mbitsnbites/buildcache/releases/download/$BuildCacheVer/$File"
95 copy buildcache\bin\buildcache.exe C:\ProgramData\chocolatey\bin 94 $WebClient = New-Object System.Net.WebClient
96 rmdir buildcache 95 $WebClient.DownloadFile($Uri, $File)
97 echo %PATH% >> %GITHUB_PATH% 96 7z x $File
97 $CurrentDir = Convert-Path .
98 echo "$CurrentDir/buildcache/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
98 - name: Install Vulkan SDK 99 - name: Install Vulkan SDK
99 shell: pwsh 100 shell: pwsh
100 run: .\.ci\scripts\windows\install-vulkan-sdk.ps1 101 run: .\.ci\scripts\windows\install-vulkan-sdk.ps1