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 55
66name : CI
77
8+ env :
9+ VCPKGRS_DYNAMIC : 1
10+
811jobs :
912 rust_tests :
1013 name : Run rust tests
1518 fail-fast : false
1619 steps :
1720 - 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
2031 if : runner.os == 'Windows'
2132 - name : Cache cargo dependencies
2233 uses : actions/cache@v1
4051 fail-fast : false
4152 steps :
4253 - 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
4564 if : runner.os == 'Windows'
4665 - name : Cache cargo dependencies
4766 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