Skip to content

Commit

Permalink
ci: use mold linker
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianmarco Fraccaroli committed Oct 25, 2022
1 parent 43c5248 commit a699404
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ jobs:
restore-keys: ${{ runner.os }}-${{ matrix.make.cache_key }}-${{ matrix.make.cache_version }}-cargo-
- name: Start sccache server
run: sccache --start-server
- name: Install mold linker
uses: rui314/setup-mold@v1
- name: Build
run: make build${{ matrix.make.suffix }}
- name: Build test
Expand Down Expand Up @@ -316,6 +318,8 @@ jobs:
restore-keys: ${{ runner.os }}-${{ matrix.make.cache_key }}-${{ matrix.make.cache_version }}-cargo-
- name: Start sccache server
run: sccache --start-server
- name: Install mold linker
uses: rui314/setup-mold@v1
- name: Build
run: make build-release${{ matrix.make.suffix }}
- name: Upload target binaries
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ jobs:
restore-keys: ${{ runner.os }}-${{ matrix.make.cache_key }}-${{ matrix.make.cache_version }}-cargo-
- name: Start sccache server
run: sccache --start-server
- name: Install mold linker
uses: rui314/setup-mold@v1
- name: Build
run: make build${{ matrix.make.suffix }}
- name: Build test
Expand Down Expand Up @@ -316,6 +318,8 @@ jobs:
~/.cargo/git
key: ${{ runner.os }}-${{ matrix.make.cache_key }}-${{ matrix.make.cache_version }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ matrix.make.cache_key }}-${{ matrix.make.cache_version }}-cargo-
- name: Install mold linker
uses: rui314/setup-mold@v1
- name: Start sccache server
run: sccache --start-server
- name: Build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
restore-keys: ${{ runner.os }}-anoma-release-${{ matrix.anoma_cache_version }}
- name: Start sccache server
run: sccache --start-server
- name: Install mold linker
uses: rui314/setup-mold@v1
- name: ${{ matrix.make.name }}
run: make ${{ matrix.make.command }}
- name: Upload binaries package
Expand Down

0 comments on commit a699404

Please sign in to comment.