Skip to content

Commit 3d2fb53

Browse files
KhoraLeeMacdu
authored andcommitted
ci: install VCPKG on macOS before building
1 parent e30b7d7 commit 3d2fb53

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
@@ -27,21 +27,23 @@ jobs:
2727
- build: macos
2828
os: macos-latest
2929
triplet: osx-release
30-
vcpkg-root: /usr/local/share/vcpkg
30+
vcpkg-root: /Users/runner/vcpkg
3131
extra-args: ""
3232
- build: macos
3333
os: macos-latest
3434
arch: universal
3535
triplet: osx-release
36-
vcpkg-root: /usr/local/share/vcpkg
36+
vcpkg-root: /Users/runner/vcpkg
3737
extra-args: --overlay-triplets=./triplets
3838

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

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

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

0 commit comments

Comments
 (0)