Skip to content

Commit

Permalink
chore: delete wasm build test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangsoledad committed Oct 30, 2023
1 parent 3b4b008 commit ba5bc01
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 100 deletions.
4 changes: 2 additions & 2 deletions .github/actions/ci_prologue/ci_prologue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fun_pasing_message(){
if [ $? -eq 0 ]; then
job_run_list=`echo "${MESSAGE}"| grep "ci-runs-only" | awk -F ':' '{print $2}'`
else
job_run_list=" [ quick_checks,unit_tests,integration_tests,benchmarks,linters,wasm_build,cargo_deny,aarch64_build ] "
job_run_list=" [ quick_checks,unit_tests,integration_tests,benchmarks,linters,cargo_deny,aarch64_build ] "
fi
echo "job_run_list is ""$job_run_list"
#parsing runs os
Expand Down Expand Up @@ -103,7 +103,7 @@ if [[ $GITHUB_EVENT_NAME == "pull_request" ]];then
else
runs_on=" [ ubuntu,macos,windows ] "
fun_run_os "$runs_on"
job_run_list=" [ quick_checks,unit_tests,integration_tests,benchmarks,linters,wasm_build,cargo_deny,aarch64_build ] "
job_run_list=" [ quick_checks,unit_tests,integration_tests,benchmarks,linters,cargo_deny,aarch64_build ] "
fun_jobs "$job_run_list"
if [[ "$GITHUB_REPOSITORY" == "nervosnetwork/ckb" ]];then
echo "linux_runner_label=self-hosted-ci-ubuntu-20.04" >> $GITHUB_OUTPUT
Expand Down
68 changes: 0 additions & 68 deletions .github/workflows/ci_wasm_build_ubuntu.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ cov: cov-install-tools ## Run code coverage.
RUSTFLAGS="-Zinstrument-coverage" LLVM_PROFILE_FILE="${COV_PROFRAW_DIR}/ckb-cov-%p-%m.profraw" cargo +nightly-2022-03-22 test --all
GRCOV_OUTPUT=lcov-unit-test.info make cov-collect-data

.PHONY: wasm-build-test
wasm-build-test: ## Build core packages for wasm target
cp -f Cargo.lock wasm-build-test/
cd wasm-build-test && cargo build --target=wasm32-unknown-unknown

.PHONY: setup-ckb-test
setup-ckb-test:
Expand Down
5 changes: 0 additions & 5 deletions devtools/ci/ci_main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ case $GITHUB_WORKFLOW in
make check-dirty-hashes-toml
devtools/ci/check-cyclic-dependencies.py
;;
ci_wasm_build*)
echo "ci_WASM_build"
rustup target add wasm32-unknown-unknown
make wasm-build-test
;;
ci_aarch64_build*)
echo "ci_aarch64_build"
sudo apt-get install -y gcc-multilib
Expand Down
17 changes: 0 additions & 17 deletions wasm-build-test/Cargo.toml

This file was deleted.

4 changes: 0 additions & 4 deletions wasm-build-test/src/lib.rs

This file was deleted.

0 comments on commit ba5bc01

Please sign in to comment.