Skip to content

Commit

Permalink
Debug ci (Rust-SDL2#1085)
Browse files Browse the repository at this point in the history
* Add verbose flag (-v) to `cargo vcpkg build` in CI
* Fix CI so that it works for all platforms
  • Loading branch information
waych authored Apr 1, 2021
1 parent 88455ae commit 0865c39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

0 comments on commit 0865c39

Please sign in to comment.