Skip to content

Commit 91eb6cd

Browse files
committed
Skip FPGA ROM tests in nightly when testing with older ROMs
1 parent 2835e62 commit 91eb6cd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/fpga.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,11 @@ jobs:
170170
run: |
171171
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER="aarch64-linux-gnu-gcc"
172172
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C link-arg=--sysroot=$FARGO_SYSROOT"
173+
EXCLUDE_ARG=""
173174
if [ "${{ inputs.rom-version }}" != "latest" ]; then
174175
export CPTRA_CI_ROM_VERSION="${{ inputs.rom-version }}"
176+
# Skip ROM tests when testing with older ROMs
177+
EXCLUDE_ARG="--exclude caliptra-rom"
175178
fi
176179
177180
if [ "${{ inputs.workflow_call }}" ]; then
@@ -183,6 +186,8 @@ jobs:
183186
FEATURES=$FEATURES,hw-${{ inputs.hw-version }}
184187
fi
185188
cargo nextest archive \
189+
--workspace \
190+
$EXCLUDE_ARG \
186191
--features=${FEATURES} \
187192
--release \
188193
--target=aarch64-unknown-linux-gnu \

0 commit comments

Comments
 (0)