Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

ci(verify): optional CARGO_LOG for build diagnostics

Richie McIlroy7585a779c453
diff --git a/.github/workflows/engine-verify-os.yml b/.github/workflows/engine-verify-os.yml
index ebe40a452..0151f4652 100644
--- a/.github/workflows/engine-verify-os.yml
+++ b/.github/workflows/engine-verify-os.yml
@@ -42,6 +42,9 @@ on:
cargo-config:
type: string
default: ""
+ cargo-log:
+ type: string
+ default: ""
permissions:
contents: read
@@ -135,6 +138,8 @@ jobs:
- name: Build
if: ${{ !inputs.archive }}
shell: bash
+ env:
+ CARGO_LOG: ${{ inputs.cargo-log }}
run: scripts/verify/run.sh "${{ inputs.tier }}" --suites "${{ inputs.suites }}" --no-run
- name: Record sources of the cached build
diff --git a/.github/workflows/engine-verify.yml b/.github/workflows/engine-verify.yml
index 8a54dce63..41212496d 100644
--- a/.github/workflows/engine-verify.yml
+++ b/.github/workflows/engine-verify.yml
@@ -36,6 +36,10 @@ on:
description: "Extra cargo --config overrides, separated by ; (profile experiments)"
type: string
default: ""
+ cargo-log:
+ description: "CARGO_LOG for the build (for example cargo::core::compiler::fingerprint=info)"
+ type: string
+ default: ""
workflow_call:
inputs:
tier:
@@ -171,6 +175,7 @@ jobs:
archive: ${{ matrix.archive }}
save-cache: ${{ needs.plan.outputs.save-cache == 'true' }}
cargo-config: ${{ inputs.cargo-config || '' }}
+ cargo-log: ${{ inputs.cargo-log || '' }}
gate:
name: Engine verify