Skip to content

Commit 90b63f7

Browse files
committed
Build x86_64-freebsd SWC binary
1 parent 2d23977 commit 90b63f7

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/build_test_deploy.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
push:
3-
branches: [ci]
3+
branches: [canary]
44
pull_request:
55
types: [opened, synchronize]
66

@@ -21,6 +21,14 @@ jobs:
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
uses: vmactions/[email protected]
@@ -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

0 commit comments

Comments
 (0)