diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-12 08:53:50 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-09-08 10:34:04 +0200 |
commit | 968b8ead235a0eb10226e784cfd6bd2cf90bc890 (patch) | |
tree | 3fbeb2e66b759500a6db4bb58e468dd4a753b32c | |
parent | 383a2d54c5f9841b6b4db9eebf51a2fb9efbedcc (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.yml | 6 |
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 |