mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Install prebuilt cbindgen binary on Travis
It's a lot faster than doing a cargo install cbindgen.
This commit is contained in:
+2
-5
@@ -31,11 +31,8 @@ install:
|
||||
# Add sphinx-build to PATH
|
||||
- export PATH="$HOME/.local/bin:$PATH"
|
||||
# Install cbindgen for generating C++ headers for Rust dependencies.
|
||||
- |
|
||||
if [[ "$(cbindgen --version)" != *0.9.0 ]]
|
||||
then
|
||||
cargo install cbindgen --version 0.9.0 --force
|
||||
fi
|
||||
- wget -P "$HOME/.local/bin" https://github.com/eqrion/cbindgen/releases/download/v0.9.1/cbindgen
|
||||
- chmod +x "$HOME/.local/bin/cbindgen"
|
||||
|
||||
before_script:
|
||||
- mkdir build
|
||||
|
||||
Reference in New Issue
Block a user