mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
CI: Use precompiled tools if possible
This commit is contained in:
parent
115fc3e212
commit
789ddb1be1
1 changed files with 10 additions and 17 deletions
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
|
@ -172,8 +172,8 @@ jobs:
|
|||
run: rustup component add llvm-tools-preview
|
||||
|
||||
# Use precompiled binutils
|
||||
- name: cargo install cargo-binutils
|
||||
run: cargo install cargo-binutils
|
||||
- name: Install cargo-binutils
|
||||
uses: taiki-e/install-action@cargo-binutils
|
||||
|
||||
- name: Cache Dependencies
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
@ -320,14 +320,14 @@ jobs:
|
|||
|
||||
# Build documentation, check links
|
||||
docs:
|
||||
name: Build docs
|
||||
name: build docs
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install lychee
|
||||
run: cargo install lychee
|
||||
uses: taiki-e/install-action@lychee
|
||||
|
||||
- name: Remove cargo-config
|
||||
run: rm -f .cargo/config
|
||||
|
@ -358,10 +358,10 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install lychee
|
||||
run: cargo install lychee
|
||||
uses: taiki-e/install-action@lychee
|
||||
|
||||
- name: Install mdbook-mermaid
|
||||
run: cargo install mdbook-mermaid
|
||||
uses: taiki-e/install-action@mdbook-mermaid
|
||||
|
||||
- name: mdBook Action
|
||||
uses: peaceiris/actions-mdbook@v1
|
||||
|
@ -443,18 +443,11 @@ jobs:
|
|||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
#
|
||||
# - name: Set up Python 3.x
|
||||
# uses: actions/setup-python@v4
|
||||
# with:
|
||||
# # Semantic version range syntax or exact version of a Python version
|
||||
# python-version: '3.x'
|
||||
#
|
||||
# # You can test your matrix by printing the current Python version
|
||||
# - name: Display Python version
|
||||
# run: python -c "import sys; print(sys.version)"
|
||||
# - name: Install lychee
|
||||
# uses: taiki-e/install-action@lychee
|
||||
#
|
||||
# - name: Install mdbook-mermaid
|
||||
# run: cargo install mdbook-mermaid
|
||||
# uses: taiki-e/install-action@mdbook-mermaid
|
||||
#
|
||||
# - name: mdBook Action
|
||||
# uses: peaceiris/actions-mdbook@v1
|
||||
|
@ -542,7 +535,7 @@ jobs:
|
|||
#
|
||||
# pushd $src
|
||||
# rm -f .cargo/config
|
||||
# cargo doc || cargo doc --features timer-queue
|
||||
# cargo doc --features thumbv7-backend || cargo doc --features thumbv7-backend,timer-queue
|
||||
# cp -r target/doc $td/$prefix/api
|
||||
# sed 's|URL|rtic/index.html|g' $root/redirect.html > $td/$prefix/api/index.html
|
||||
# for lang in ${langs[@]}; do
|
||||
|
|
Loading…
Reference in a new issue