Skip to content

Commit f2a1fb5

Browse files
committed
ci: Optimize latency and set SP1_DEV
- Modified the description for the 'perf' input in GitHub action to optimize CI latency rather than performance. - Implemented addition of a new environment variable, SP1_DEV=1, when 'perf' input is set to true. - fixes #42.
1 parent f47915f commit f2a1fb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/setup/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
description: "Token to use for private repo access"
55
required: true
66
perf:
7-
description: "Set env to optimize performance"
7+
description: "Set env to optimize CI latency"
88
required: false
99
default: "true"
1010
runs:
@@ -21,6 +21,7 @@ runs:
2121
if [[ "${{ inputs.perf }}" == "true" ]]; then
2222
echo "RUSTFLAGS=${{env.RUSTFLAGS}} -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 -Ctarget-cpu=native" | tee -a $GITHUB_ENV
2323
echo "FRI_QUERIES=1" | tee -a $GITHUB_ENV
24+
echo "SP1_DEV=true" | tee -a $GITHUB_ENV
2425
fi
2526
echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" | tee -a $GITHUB_ENV
2627
echo "RUST_LOG=info" | tee -a $GITHUB_ENV

0 commit comments

Comments
 (0)