Skip to content

Commit

Permalink
fix CI error
Browse files Browse the repository at this point in the history
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
  • Loading branch information
CalvinNeo committed Nov 5, 2024
1 parent 549464e commit a8d98da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proxy_scripts/ci_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ if [[ $M == "fmt" ]]; then
GIT_STATUS=$(git status -s .) && if [[ ${GIT_STATUS} ]]; then echo "Error: found illegal git status"; echo ${GIT_STATUS}; [[ -z ${GIT_STATUS} ]]; fi
cargo fmt -- --check
elif [[ $M == "testold" ]]; then
g++ --version
yum install build-essential
export ENGINE_LABEL_VALUE=tiflash
export RUST_BACKTRACE=full
export ENABLE_FEATURES="test-engine-kv-rocksdb test-engine-raft-raft-engine"
Expand Down Expand Up @@ -39,6 +41,8 @@ elif [[ $M == "testold" ]]; then
# cargo test --package tests --test failpoints cases::test_snap
cargo test --package tests --test failpoints cases::test_import_service
elif [[ $M == "testnew" ]]; then
g++ --version
yum install build-essential
chmod +x ./proxy_scripts/make_env.sh
./proxy_scripts/make_env.sh
export ENGINE_LABEL_VALUE=tiflash
Expand Down

0 comments on commit a8d98da

Please sign in to comment.