diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 9d4bb65b4553..d4bcfea8e1d8 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 @@ -36,8 +44,11 @@ jobs: usesh: true mem: 6000 prepare: | - pkg install -y curl node14 + pkg update + pkg upgrade -y + pkg install -y curl node16 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 +56,6 @@ jobs: rustc --version echo "~~~~ node -v ~~~~" node -v - echo "~~~~ yarn --version ~~~~" - yarn --version run: | export PATH="/usr/local/cargo/bin:$PATH" pwd