Skip to content

Commit

Permalink
try mold
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Oct 19, 2023
1 parent c6c291c commit ea3d82d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/namada.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
matrix:
namada: [0.23.0]
comet_bft: [0.37.2]
mold: [2.1.0]

env:
RUSTFLAGS: '-C linker=clang -C link-arg=-fuse-ld=/usr/local/bin/mold'

steps:
- uses: actions/checkout@v3
Expand All @@ -43,6 +47,10 @@ jobs:
with:
toolchain: 1.70.0
override: true
- name: Install mold linker
run: |
wget -q -O- https://github.com/rui314/mold/releases/download/v${{ matrix.mold }}/mold-${{ matrix.mold }}-x86_64-linux.tar.gz | tar -xz
mv mold-${{ matrix.mold }}-x86_64-linux/bin/mold /usr/local/bin
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit ea3d82d

Please sign in to comment.