* Add verbose flag (-v) to `cargo vcpkg build` in CI
* Fix CI so that it works for all platforms
This commit is contained in:
waych
2021-04-01 06:56:15 -07:00
committed by GitHub
parent af21bdca75
commit 68ae17ccb5
2 changed files with 4 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ jobs:
- name: Install cargo-vcpkg
run: cargo install cargo-vcpkg
- name: Install dependencies
run: cargo vcpkg build
run: cargo vcpkg -v build
- name: Build SDL2
shell: bash
env:

View File

@@ -155,8 +155,9 @@ dependencies = ["sdl2"]
# dependencies required when building examples and tests for this crate
dev-dependencies = ["sdl2", "sdl2-image[libjpeg-turbo,tiff,libwebp]", "sdl2-ttf", "sdl2-gfx", "sdl2-mixer"]
git = "https://github.com/microsoft/vcpkg"
rev = "a0518036077baa4"
# TODO: This should be tracking https://github.com/microsoft/vcpkg see #1085
git = "https://github.com/waych/vcpkg"
rev = "14d56fa2da809c5632043041625b975a3ce557bc"
[package.metadata.vcpkg.target]
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md" }