mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
**Description:** I configured one custom runner using https://github.com/myoung34/docker-github-actions-runner that has 16 cores and 64GB RAM. It's much quieter than a public GitHub runner, so I'll rely on this for profiling.
14 lines
354 B
Bash
Executable File
14 lines
354 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
|
|
crate=$1
|
|
|
|
# If crate has feature 'concurrent', build it with feature
|
|
if [[ $(./scripts/cargo/list-features.sh $crate) == *"concurrent"* ]]; then
|
|
echo "Building $crate with feature 'concurrent'"
|
|
cargo codspeed build -p $crate --features concurrent
|
|
else
|
|
echo "Building $crate"
|
|
cargo codspeed build -p $crate
|
|
fi |