diff options
author | Steven Fackler <sfackler@gmail.com> | 2020-06-06 12:41:23 -0700 |
---|---|---|
committer | Steven Fackler <sfackler@gmail.com> | 2020-06-06 13:58:44 -0700 |
commit | a9a092a9ff567deb443fcc329fbf3f3ee7e5ff74 (patch) | |
tree | 17a735286935fa6ee5a0923d62d83c4953cb0832 /.github/workflows | |
parent | 5f59ee012eb076b8e56caa2fe85f561bc1c6f5b5 (diff) | |
download | rust-openssl-a9a092a9ff567deb443fcc329fbf3f3ee7e5ff74.zip |
run stuff
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7c5761b..2d1e16ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 |