File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 6666 with :
6767 version : " 11.0"
6868
69- - name : Set LIBCLANG_PATH on windows-2019
70- if : matrix.os == 'windows-2019'
71- run : echo "LIBCLANG_PATH='C:\Program Files\LLVM\bin'" >> "$GITHUB_ENV"
72-
7369 - name : Cache Dependencies
7470 uses : Swatinem/rust-cache@988c164c3d0e93c4dbab36aaf5bbeb77425b2894
7571 with :
@@ -84,11 +80,17 @@ jobs:
8480
8581 - name : Run tests
8682 run : |
83+ # Set LIBCLANG_PATH for bindgen to access clang library under windows-2019
84+ if [ "$MATRIX_OS" == "windows-2019" ]; then
85+ export LIBCLANG_PATH="C:\Program Files\LLVM\bin"
86+ echo "$LIBCLANG_PATH"
87+ fi
8788 ./ci_tools.sh
8889 ./ci.sh
8990 env :
9091 TRAVIS_RUST_VERSION : ${{ matrix.rust }}
9192 TARGET : ${{ matrix.target }}
93+ MATRIX_OS : ${{ matrix.os }}
9294 ZLIB_INSTALLED : ${{ matrix.target == 'x86_64-unknown-linux-gnu' && 'true' || '' }}
9395 AES_NI_SUPPORT : ${{ matrix.target == 'x86_64-unknown-linux-gnu' && 'true' || '' }}
9496 shell : bash
You can’t perform that action at this time.
0 commit comments