Skip to content

Commit

Permalink
[dev] remove starcoin-x package,update script and config (#3772)
Browse files Browse the repository at this point in the history
* [dev] remove starcoin-x package

* remove in toml

* update mold flag

* remove starcoin-x alias

* add back test scripts

* fix powershell
  • Loading branch information
jiangying000 authored Oct 9, 2022
1 parent c2804e0 commit 9046b9c
Show file tree
Hide file tree
Showing 15 changed files with 105 additions and 1,122 deletions.
9 changes: 1 addition & 8 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
[alias]
x = "run --package starcoin-x --bin starcoin-x --"
xcheck = "run --package starcoin-x --bin starcoin-x -- check"
xclippy = "run --package starcoin-x --bin starcoin-x -- clippy"
xfmt = "run --package starcoin-x --bin starcoin-x -- fmt"
xfix = "run --package starcoin-x --bin starcoin-x -- fix"
xtest = "run --package starcoin-x --bin starcoin-x -- test"
xlint = "run --package starcoin-x --bin starcoin-x -- lint"

[net]
retry = 2
Expand All @@ -17,4 +10,4 @@ rustflags = ["-C", "link-arg=/STACK:8000000"]
# ========== EXPERIMENTAL MOLD LINKER SUPPORT ==========
# [target.x86_64-unknown-linux-gnu]
# linker = "/usr/bin/clang"
# rustflags = ["-C", "link-arg=--ld-path=/usr/local/mold"]
# rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/mold"]
7 changes: 1 addition & 6 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,8 @@ jobs:
with:
command: build
args: --all
- uses: taiki-e/install-action@nextest
- name: test
# --test-threads 12, proper test concurrency level, balance failure rate and test speed
# --failure-output immediate-final, make error log output at the end
# --retries 2, a correct test case usually takes no more than 3 tries to pass
# --build-jobs 8, a little (~20s) faster than 5 or 10 build jobs
run: cargo nextest run --workspace --retries 2 --build-jobs 8 --test-threads 12 --failure-output immediate-final
run: ./scripts/nextest.sh
# - name: check changed files
# run: bash ./scripts/changed_files.sh
- name: Doc Tests
Expand Down
Loading

0 comments on commit 9046b9c

Please sign in to comment.