File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 91
91
FFMPEG_PKG_CONFIG_PATH=${HOME}/ffmpeg_build/lib/pkgconfig \
92
92
cargo clippy -- -D warnings
93
93
94
+ rust_clippy_check_windows :
95
+ runs-on : windows-latest
96
+ steps :
97
+ - uses : actions/checkout@v2
98
+ - uses : actions-rs/toolchain@v1
99
+ with :
100
+ profile : minimal
101
+ toolchain : stable
102
+ override : true
103
+
104
+ # Using this since it's used by clang-sys's CI
105
+ - name : Install LLVM and Clang
106
+ uses : KyleMayes/install-llvm-action@v1
107
+ with :
108
+ version : " 10.0"
109
+ directory : ${{ github.workspace }}/clang
110
+
111
+ - run : |
112
+ git clone https://github.com/microsoft/vcpkg --depth 1
113
+ ./vcpkg/bootstrap-vcpkg.bat
114
+ ./vcpkg/vcpkg.exe install ffmpeg:x64-windows-static-md
115
+
116
+ - name : Clippy check
117
+ env :
118
+ VCPKG_ROOT : ${{ github.workspace }}/vcpkg
119
+ LIBCLANG_PATH : ${{ github.workspace }}/clang/lib
120
+ LLVM_CONFIG_PATH : ${{ github.workspace }}/clang/bin/llvm-config
121
+ run : cargo clippy -- -D warnings
122
+
94
123
build_static_and_test_ubuntu :
95
124
runs-on : ubuntu-latest
96
125
steps :
You can’t perform that action at this time.
0 commit comments