Skip to content

Commit

Permalink
ci: install VCPKG on macOS before building
Browse files Browse the repository at this point in the history
  • Loading branch information
KhoraLee authored and Macdu committed Sep 4, 2024
1 parent e30b7d7 commit 3d2fb53
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,23 @@ jobs:
- build: macos
os: macos-latest
triplet: osx-release
vcpkg-root: /usr/local/share/vcpkg
vcpkg-root: /Users/runner/vcpkg
extra-args: ""
- build: macos
os: macos-latest
arch: universal
triplet: osx-release
vcpkg-root: /usr/local/share/vcpkg
vcpkg-root: /Users/runner/vcpkg
extra-args: --overlay-triplets=./triplets

steps:
- uses: actions/checkout@v4

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

- name: Set up build environment (ubuntu-latest)
Expand Down

0 comments on commit 3d2fb53

Please sign in to comment.