Skip to content

Commit 183ca7f

Browse files
KhoraLeeAniLeo
authored andcommitted
ci: install VCPKG on macOS before building
1 parent 08c3668 commit 183ca7f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,23 @@ jobs:
2828
- build: macos
2929
os: macos-latest
3030
triplet: osx-release
31-
vcpkg-root: /usr/local/share/vcpkg
31+
vcpkg-root: /Users/runner/vcpkg
3232
extra-args: ""
3333
- build: macos
3434
os: macos-latest
3535
arch: universal
3636
triplet: osx-release
37-
vcpkg-root: /usr/local/share/vcpkg
37+
vcpkg-root: /Users/runner/vcpkg
3838
extra-args: --overlay-triplets=./triplets
3939

4040
steps:
4141
- uses: actions/checkout@v4
4242

4343
- name: Set up build environment (macos-latest)
4444
run: |
45-
brew install nasm
45+
brew install nasm vcpkg
46+
git clone https://github.com/microsoft/vcpkg "$HOME/vcpkg"
47+
echo VCPKG_ROOT="$HOME/vcpkg" >> $GITHUB_ENV
4648
if: matrix.os == 'macos-latest'
4749

4850
- name: Set up build environment (ubuntu-latest)

0 commit comments

Comments
 (0)