Install openssl on Windows in GH Actions

This commit is contained in:
Noah committed 2020-03-27 14:40:20 -05:00
1 parent 40835b19e6
commit 72f7cd65eb
2 files changed
+31 -4

No files matched your search

+23 -4
View File
@@ -5,6 +5,9 @@ on:
name: CI
env:
VCPKGRS_DYNAMIC: 1
jobs:
rust_tests:
name: Run rust tests
@@ -15,8 +18,16 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@master
- name: Convert symlinks to hardlink (windows only)
run: powershell.exe scripts/symlinks-to-hardlinks.ps1
- name: Cache Windows
uses: actions/cache@v1
with:
key: vcpkg
path: 'C:/vcpkg'
if: runner.os == 'Windows'
- name: Set up the Windows environment
run: |
powershell.exe scripts/symlinks-to-hardlinks.ps1
powershell.exe scripts/install-openssl.ps1
if: runner.os == 'Windows'
- name: Cache cargo dependencies
uses: actions/cache@v1
@@ -40,8 +51,16 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@master
- name: Convert symlinks to hardlink (windows only)
run: powershell.exe scripts/symlinks-to-hardlinks.ps1
- name: Cache Windows
uses: actions/cache@v1
with:
key: vcpkg
path: 'C:/vcpkg'
if: runner.os == 'Windows'
- name: Set up the Windows environment
run: |
powershell.exe scripts/symlinks-to-hardlinks.ps1
powershell.exe scripts/install-openssl.ps1
if: runner.os == 'Windows'
- name: Cache cargo dependencies
uses: actions/cache@v1