Move vcpkg build to github actions

This commit is contained in:
Steven Fackler 2020-06-06 12:17:57 -07:00
parent f042c21f93
commit 6f7501b034
1 changed files with 14 additions and 0 deletions

View File

@ -7,6 +7,7 @@ on:
push:
branches:
- master
- actions-vcpkg
env:
RUSTFLAGS: -Dwarnings
@ -90,3 +91,16 @@ jobs:
key: min-version-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
- name: Check openssl
run: cargo check -p openssl
windows-vcpkg:
name: windows-vcpkg
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
run: rustup update stable && rustup default stable
- name: Get rust version
id: rust-version
run: echo "::set-output name=version::$(rustc --version)"
- name: Install OpenSSL
run: vcpkg install openssl