summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@ifm.com>2022-08-12 08:53:50 +0200
committerMatthias Beyer <matthias.beyer@ifm.com>2022-09-08 10:34:04 +0200
commit968b8ead235a0eb10226e784cfd6bd2cf90bc890 (patch)
tree3fbeb2e66b759500a6db4bb58e468dd4a753b32c
parent383a2d54c5f9841b6b4db9eebf51a2fb9efbedcc (diff)
Install mold as linker
This patch installs "mold" as a linker in the github actions, which should result in a huge speed upgrade for the linking time. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r--.github/workflows/pull-request-checks.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/pull-request-checks.yml b/.github/workflows/pull-request-checks.yml
index 591fbb25..5c083605 100644
--- a/.github/workflows/pull-request-checks.yml
+++ b/.github/workflows/pull-request-checks.yml
@@ -223,6 +223,9 @@ jobs:
- name: enable toolchain via github action
uses: dtolnay/rust-toolchain@1.63.0
+ - name: Install mold linker
+ uses: rui314/setup-mold@v1
+
- name: Enable cache
# https://github.com/marketplace/actions/rust-cache
uses: Swatinem/rust-cache@v2
@@ -261,6 +264,9 @@ jobs:
- name: enable toolchain via github action
uses: dtolnay/rust-toolchain@1.63.0
+ - name: Install mold linker
+ uses: rui314/setup-mold@v1
+
- name: Enable cache
# https://github.com/marketplace/actions/rust-cache
uses: Swatinem/rust-cache@v2