mirror of
https://github.com/Vita3K/ffmpeg-core.git
synced 2024-11-23 05:29:42 +00:00
ci: install VCPKG on macOS before building
This commit is contained in:
parent
e30b7d7fe2
commit
3d2fb53675
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -27,13 +27,13 @@ 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:
|
||||
@ -41,7 +41,9 @@ jobs:
|
||||
|
||||
- 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)
|
||||
|
Loading…
Reference in New Issue
Block a user