-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description After the initial merge of #1987 made some fixes. ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [x] Self-review. - [ ] Documentation updates if relevant. - [ ] Tests if relevant.
- Loading branch information
Showing
1 changed file
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ jobs: | |
env: | ||
# Using self-hosted runners so use local cache for sccache and | ||
# not SCCACHE_GHA_ENABLED. | ||
RUSTC_WRAPPER: "sccache" | ||
# RUSTC_WRAPPER: "sccache" | ||
RUST_BACKTRACE: full | ||
RUSTV: ${{ matrix.rust }} | ||
steps: | ||
|
@@ -76,20 +76,25 @@ jobs: | |
run: | | ||
rustup toolchain install ${{ matrix.rust }} | ||
- name: Install sccache | ||
if: matrix.name != 'windows-latest' | ||
uses: mozilla-actions/[email protected] | ||
|
||
- name: build release | ||
run: | | ||
cargo build --profile optimized-release --all-features | ||
- name: attach artifacts | ||
if: matrix.os != 'windows-latest' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: iroh-${RELEASE_OS}-${RELEASE_ARCH}-${GITHUB_SHA::7} | ||
name: iroh-${{env.RELEASE_OS }}-${{env.RELEASE_ARCH}} | ||
path: target/optimized-release/iroh | ||
compression-level: 0 | ||
|
||
- name: attach artifacts | ||
if: matrix.os == 'windows-latest' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: iroh-windows-amd64.exe | ||
path: target/optimized-release/iroh.exe | ||
compression-level: 0 | ||
|
||
- name: Setup awscli on linux | ||
if: matrix.name == 'ubuntu-latest' | ||
|