File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1515 feature :
1616 - system
1717 - " system,static"
18+ rustflags :
19+ - " -C target-feature=+crt-static"
20+ - " "
1821 steps :
1922 - uses : actions/checkout@v1
2023 - uses : actions/cache@v2
@@ -26,10 +29,14 @@ jobs:
2629 git clone https://github.com/Microsoft/vcpkg.git --depth 1
2730 cd vcpkg
2831 ./bootstrap-vcpkg.bat
29- - name : Install static OpenBLAS by vcpkg
32+ - name : Install static-md OpenBLAS by vcpkg
3033 run : |
3134 ./vcpkg/vcpkg.exe install openblas:x64-windows-static-md
32- if : ${{ matrix.feature == 'system,static' }}
35+ if : ${{ matrix.feature == 'system,static' && matrix.rustflags == "" }}
36+ - name : Install static OpenBLAS by vcpkg
37+ run : |
38+ ./vcpkg/vcpkg.exe install openblas:x64-windows-static
39+ if : ${{ matrix.feature == 'system,static' && matrix.rustflags != "" }}
3340 - name : Install OpenBLAS by vcpkg
3441 run : |
3542 ./vcpkg/vcpkg.exe install openblas:x64-windows
4249 --manifest-path=openblas-src/Cargo.toml
4350 env :
4451 VCPKG_ROOT : ${{ github.workspace }}/vcpkg
52+ RUSTFLAGS : ${{ matrix.rustflags }}
4553
4654 macos :
4755 runs-on : macos-10.15
You can’t perform that action at this time.
0 commit comments