Skip to content

Commit

Permalink
Build x86_64-freebsd SWC binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed May 11, 2022
1 parent 2d23977 commit bb8753e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build_test_deploy.yml
@@ -1,6 +1,6 @@
on:
push:
branches: [ci]
branches: [canary]
pull_request:
types: [opened, synchronize]

Expand All @@ -21,6 +21,14 @@ jobs:
- name: tune mac network
run: sudo sysctl -w net.link.generic.system.hwcksum_tx=0 && sudo sysctl -w net.link.generic.system.hwcksum_rx=0
- uses: actions/checkout@v3
- name: Delete useless files
run: |
rm -rf bench
rm -rf docs
rm -rf errors
rm -rf examples
rm -rf scripts
rm -rf test
- name: Build
id: build
uses: vmactions/freebsd-vm@v0.1.6
Expand All @@ -38,15 +46,14 @@ jobs:
prepare: |
pkg install -y curl node14
curl -qL https://www.npmjs.com/install.sh | sh
npm install -g yarn
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain stable
export PATH="/usr/local/cargo/bin:$PATH"
echo "~~~~ rustc --version ~~~~"
rustc --version
echo "~~~~ node -v ~~~~"
node -v
echo "~~~~ yarn --version ~~~~"
yarn --version
run: |
export PATH="/usr/local/cargo/bin:$PATH"
pwd
Expand Down

0 comments on commit bb8753e

Please sign in to comment.