File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 11on :
22 push :
3- branches : [ci ]
3+ branches : [canary ]
44 pull_request :
55 types : [opened, synchronize]
66
2121 - name : tune mac network
2222 run : sudo sysctl -w net.link.generic.system.hwcksum_tx=0 && sudo sysctl -w net.link.generic.system.hwcksum_rx=0
2323 - uses : actions/checkout@v3
24+ - name : Delete useless files
25+ run : |
26+ rm -rf bench
27+ rm -rf docs
28+ rm -rf errors
29+ rm -rf examples
30+ rm -rf scripts
31+ rm -rf test
2432 - name : Build
2533 id : build
2634@@ -36,17 +44,18 @@ jobs:
3644 usesh : true
3745 mem : 6000
3846 prepare : |
39- pkg install -y curl node14
47+ pkg update
48+ pkg upgrade -y
49+ pkg install -y curl node16
4050 curl -qL https://www.npmjs.com/install.sh | sh
51+ npm install -g yarn
4152 curl https://sh.rustup.rs -sSf --output rustup.sh
4253 sh rustup.sh -y --profile minimal --default-toolchain stable
4354 export PATH="/usr/local/cargo/bin:$PATH"
4455 echo "~~~~ rustc --version ~~~~"
4556 rustc --version
4657 echo "~~~~ node -v ~~~~"
4758 node -v
48- echo "~~~~ yarn --version ~~~~"
49- yarn --version
5059 run : |
5160 export PATH="/usr/local/cargo/bin:$PATH"
5261 pwd
You can’t perform that action at this time.
0 commit comments