run stuff
This commit is contained in:
parent
5f59ee012e
commit
a9a092a9ff
|
|
@ -95,6 +95,8 @@ jobs:
|
|||
windows-vcpkg:
|
||||
name: windows-vcpkg
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
VCPKGRS_DYNAMIC: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install Rust
|
||||
|
|
@ -102,7 +104,30 @@ jobs:
|
|||
- name: Get rust version
|
||||
id: rust-version
|
||||
run: echo "::set-output name=version::$(rustc --version)"
|
||||
- name: Update vcpkg
|
||||
run: vcpkg update
|
||||
- name: Install OpenSSL
|
||||
run: vcpkg install openssl
|
||||
run: vcpkg install openssl:x64-windows
|
||||
- name: Cache cargo index
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.cargo/registry/index
|
||||
key: index-${{ runner.os }}-${{ github.run_number }}
|
||||
restore-keys: |
|
||||
index-${{ runner.os }}-
|
||||
- name: Create lockfile
|
||||
run: cargo generate-lockfile
|
||||
- name: Cache cargo registry
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.cargo/registry/cache
|
||||
key: registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
|
||||
- name: Fetch dependencies
|
||||
run: cargo fetch
|
||||
- name: Cache target directory
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: target
|
||||
key: min-version-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
|
||||
- name: Run systest
|
||||
run: cargo run -p systest
|
||||
- name: Test openssl
|
||||
run: cargo test -p openssl
|
||||
|
|
|
|||
Loading…
Reference in New Issue