Add mold linker

This commit is contained in:
Clémentine Urquizar 2022-08-02 16:48:19 +02:00
parent dfbdc565f9
commit 160cba1b46
No known key found for this signature in database
GPG Key ID: D8E7CC7422E77E1A

View File

@ -24,6 +24,7 @@ jobs:
os: [ubuntu-18.04, macos-latest, windows-latest] os: [ubuntu-18.04, macos-latest, windows-latest]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: rui314/setup-mold@v1 # Optimize link time
- name: Cache dependencies - name: Cache dependencies
uses: Swatinem/rust-cache@v2.0.0 uses: Swatinem/rust-cache@v2.0.0
- name: Run cargo check without any default features - name: Run cargo check without any default features
@ -43,6 +44,7 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: rui314/setup-mold@v1 # Optimize link time
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
@ -61,6 +63,7 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: rui314/setup-mold@v1 # Optimize link time
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
@ -80,6 +83,7 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: rui314/setup-mold@v1 # Optimize link time
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal