File tree Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 5
5
6
6
name : CI
7
7
8
+ env :
9
+ VCPKGRS_DYNAMIC : 1
10
+
8
11
jobs :
9
12
rust_tests :
10
13
name : Run rust tests
15
18
fail-fast : false
16
19
steps :
17
20
- uses : actions/checkout@master
18
- - name : Convert symlinks to hardlink (windows only)
19
- run : powershell.exe scripts/symlinks-to-hardlinks.ps1
21
+ - name : Cache Windows
22
+ uses : actions/cache@v1
23
+ with :
24
+ key : vcpkg
25
+ path : ' C:/vcpkg'
26
+ if : runner.os == 'Windows'
27
+ - name : Set up the Windows environment
28
+ run : |
29
+ powershell.exe scripts/symlinks-to-hardlinks.ps1
30
+ powershell.exe scripts/install-openssl.ps1
20
31
if : runner.os == 'Windows'
21
32
- name : Cache cargo dependencies
22
33
uses : actions/cache@v1
40
51
fail-fast : false
41
52
steps :
42
53
- uses : actions/checkout@master
43
- - name : Convert symlinks to hardlink (windows only)
44
- run : powershell.exe scripts/symlinks-to-hardlinks.ps1
54
+ - name : Cache Windows
55
+ uses : actions/cache@v1
56
+ with :
57
+ key : vcpkg
58
+ path : ' C:/vcpkg'
59
+ if : runner.os == 'Windows'
60
+ - name : Set up the Windows environment
61
+ run : |
62
+ powershell.exe scripts/symlinks-to-hardlinks.ps1
63
+ powershell.exe scripts/install-openssl.ps1
45
64
if : runner.os == 'Windows'
46
65
- name : Cache cargo dependencies
47
66
uses : actions/cache@v1
Original file line number Diff line number Diff line change
1
+ # From the Actix Web windows workflow:
2
+ # https://github.com/actix/actix-web/blob/master/.github/workflows/windows.yml
3
+ vcpkg integrate install
4
+ vcpkg install openssl:x64- windows
5
+ Copy-Item C:\vcpkg\installed\x64- windows\bin\libcrypto- 1_1 - x64.dll C:\vcpkg\installed\x64- windows\bin\libcrypto.dll
6
+ Copy-Item C:\vcpkg\installed\x64- windows\bin\libssl- 1_1 - x64.dll C:\vcpkg\installed\x64- windows\bin\libssl.dll
7
+ Get-ChildItem C:\vcpkg\installed\x64- windows\bin
8
+ Get-ChildItem C:\vcpkg\installed\x64- windows\lib
You can’t perform that action at this time.
0 commit comments