From bb8753eddbedb19ad0f768dde5e06ee6b569d8cf Mon Sep 17 00:00:00 2001 From: LongYinan Date: Wed, 11 May 2022 15:04:59 +0800 Subject: [PATCH] Build x86_64-freebsd SWC binary --- .github/workflows/build_test_deploy.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 9d4bb65b4553..522646be345d 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -1,6 +1,6 @@ on: push: - branches: [ci] + branches: [canary] pull_request: types: [opened, synchronize] @@ -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 @@ -38,6 +46,7 @@ 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" @@ -45,8 +54,6 @@ jobs: rustc --version echo "~~~~ node -v ~~~~" node -v - echo "~~~~ yarn --version ~~~~" - yarn --version run: | export PATH="/usr/local/cargo/bin:$PATH" pwd