Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/butterflynet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
name: Butterflynet checks
runs-on: ubuntu-24.04-arm
steps:
- uses: rui314/setup-mold@v1
with:
make-default: false
- name: Checkout Sources
uses: actions/checkout@v6
- name: Setup sccache
Expand All @@ -29,7 +32,7 @@ jobs:
- name: Build and install Forest binaries
env:
# To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld"
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=mold"
run: mise run install --slim quick
- name: Run butterflynet checks
run: ./scripts/tests/butterflynet_check.sh
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
CC: clang
CXX: clang++
# To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld"
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=mold"
FOREST_F3_SIDECAR_FFI_BUILD_OPT_OUT: 1
FIL_PROOFS_PARAMETER_CACHE: /var/tmp/filecoin-proof-parameters
RUST_LOG: error
Expand Down Expand Up @@ -77,6 +77,9 @@ jobs:
echo "SCCACHE_REGION=${{ vars.SCCACHE_REGION}}"
} >> "$GITHUB_ENV"
fi
- uses: rui314/setup-mold@v1
with:
make-default: false
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.10
timeout-minutes: ${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
echo "SCCACHE_REGION=${{ vars.SCCACHE_REGION}}"
} >> "$GITHUB_ENV"
fi
- uses: rui314/setup-mold@v1
with:
make-default: false
- name: Checkout Sources
uses: actions/checkout@v6
- name: Setup sccache
Expand All @@ -65,7 +68,7 @@ jobs:
- name: Cargo Install
env:
# To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld"
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=mold"
run: mise run install ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) && 'release' || 'quick' }}
- uses: actions/upload-artifact@v7
with:
Expand Down Expand Up @@ -93,6 +96,9 @@ jobs:
} >> "$GITHUB_ENV"
fi
echo "SCCACHE_S3_KEY_PREFIX=aarch64" >> "$GITHUB_ENV"
- uses: rui314/setup-mold@v1
with:
make-default: false
- name: Checkout Sources
uses: actions/checkout@v6
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
Expand All @@ -105,6 +111,9 @@ jobs:
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
- name: Cargo Install
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
env:
# To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=mold"
run: mise run install release
- uses: actions/upload-artifact@v7
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/forest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ jobs:
echo "SCCACHE_REGION=${{ vars.SCCACHE_REGION}}"
} >> "$GITHUB_ENV"
fi
- uses: rui314/setup-mold@v1
with:
make-default: false
- name: Checkout Sources
uses: actions/checkout@v6
- name: Setup sccache
Expand All @@ -100,7 +103,7 @@ jobs:
- name: Install Forest
env:
# To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld"
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=mold"
run: mise run install --slim quick
- uses: actions/upload-artifact@v7
with:
Expand Down
Loading