mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Merge #317
317: Use statically compiled mdbook r=perlindgren a=AfoHT Instead of building mdbook, get a precompiled version Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
This commit is contained in:
commit
4f769de5a4
2 changed files with 8 additions and 2 deletions
|
@ -37,6 +37,7 @@ before_install:
|
||||||
install:
|
install:
|
||||||
- bash ci/install.sh
|
- bash ci/install.sh
|
||||||
- export PATH="$PATH:$PWD/qemu"
|
- export PATH="$PATH:$PWD/qemu"
|
||||||
|
- export PATH="$PATH:$PWD/mdbook-bin"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- bash ci/script.sh
|
- bash ci/script.sh
|
||||||
|
|
|
@ -15,7 +15,6 @@ main() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rustup target add $TARGET
|
rustup target add $TARGET
|
||||||
|
|
||||||
mkdir qemu
|
mkdir qemu
|
||||||
curl -L https://github.com/japaric/qemu-bin/raw/master/14.04/qemu-system-arm-2.12.0 > qemu/qemu-system-arm
|
curl -L https://github.com/japaric/qemu-bin/raw/master/14.04/qemu-system-arm-2.12.0 > qemu/qemu-system-arm
|
||||||
chmod +x qemu/qemu-system-arm
|
chmod +x qemu/qemu-system-arm
|
||||||
|
@ -23,7 +22,13 @@ main() {
|
||||||
pip install linkchecker --user
|
pip install linkchecker --user
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_crate mdbook 0.3.1
|
# Download binary mdbook and add to path
|
||||||
|
curl -L https://github.com/rust-lang/mdBook/releases/download/v0.3.1/mdbook-v0.3.1-x86_64-unknown-linux-gnu.tar.gz > mdbook.tar.gz
|
||||||
|
tar -xf mdbook.tar.gz
|
||||||
|
mkdir -p mdbook-bin
|
||||||
|
mv mdbook mdbook-bin/
|
||||||
|
|
||||||
|
#install_crate mdbook 0.3.1
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
Loading…
Reference in a new issue