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
7 changes: 7 additions & 0 deletions .github/workflows/dep_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ jobs:
with:
path: target/hyperlight-js-runtime/sysroot
key: sysroot-${{ matrix.build }}-${{ hashFiles('rust-toolchain.toml') }}

# Temporary workaround until hyperlight-host preserves the surrogate
# inside OUT_DIR. rust-cache removes it but retains build-script state.
# can be removed once a hyperlight-host with https://github.com/hyperlight-dev/hyperlight/pull/2038 is referenced.
- name: Invalidate cached Windows surrogate build
if: runner.os == 'Windows'
run: cargo clean -p hyperlight-host --profile release

- name: Build
env:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/dep_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,13 @@ jobs:
path: target/hyperlight-js-runtime/sysroot
key: sysroot-${{ matrix.build }}-${{ hashFiles('rust-toolchain.toml') }}

# Temporary workaround until hyperlight-host preserves the surrogate
# inside OUT_DIR. rust-cache removes it but retains build-script state.
# can be removed once a hyperlight-host with https://github.com/hyperlight-dev/hyperlight/pull/2038 is referenced.
- name: Invalidate cached Windows surrogate build
if: runner.os == 'Windows'
run: cargo clean -p hyperlight-host --profile ${{ matrix.config == 'debug' && 'dev' || matrix.config }}

- name: Build
run: |
just build ${{ matrix.config }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/dep_code_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ jobs:

- uses: hyperlight-dev/ci-setup-workflow@59673866360458f8dd035f4a9fa766aeebad2038 # v2.3.1
with:
rust-toolchain: "1.90"
just-version: "1.51"

- name: Rust cache
Expand All @@ -143,6 +142,15 @@ jobs:
shell: bash
run: echo "skip=${{ steps.rust-cache.outputs.cache-hit == 'true' && steps.sysroot-cache.outputs.cache-hit == 'true' }}" >> "$GITHUB_OUTPUT"

# Temporary workaround until hyperlight-host preserves the surrogate
# inside OUT_DIR. rust-cache removes it but retains build-script state.
# can be removed once a hyperlight-host with https://github.com/hyperlight-dev/hyperlight/pull/2038 is referenced.
- name: Invalidate cached Windows surrogate build
if: runner.os == 'Windows'
run: |
cargo clean -p hyperlight-host --profile dev
cargo clean -p hyperlight-host --profile release

- name: clippy (debug)
if: steps.prime.outputs.skip != 'true'
run: just clippy debug
Expand Down
Loading