aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2023-02-24 21:08:00 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:35:24 +0100
commit789ddb1be163ff2e500caa9307e967535a20ef2f (patch)
treeace68a61c6d4139d80797d7ed1c5028650d94fe3 /.github
parent115fc3e21249e8c146d08f0fbd92e5f49233d2d6 (diff)
CI: Use precompiled tools if possible
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml27
1 files changed, 10 insertions, 17 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 64044c5..262ce71 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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