From d6007cc1127a028c1a9fc2cf836548cc022aaefc Mon Sep 17 00:00:00 2001 From: twlite <46562212+twlite@users.noreply.github.com> Date: Thu, 5 Dec 2024 23:27:46 +0545 Subject: [PATCH] ci: update freebsd --- .github/workflows/CI.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b17577b..4c268cb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -147,28 +147,28 @@ jobs: path: ${{ env.APP_NAME }}.*.node if-no-files-found: error build-freebsd: - runs-on: macos-13 + runs-on: ubuntu-latest name: Build FreeBSD steps: - uses: actions/checkout@v4 - name: Build id: build - uses: cross-platform-actions/action@v0.24.0 + uses: cross-platform-actions/action@v0.26.0 env: DEBUG: napi:* RUSTUP_IO_THREADS: 1 with: operating_system: freebsd - version: "13.2" + version: "14.0" memory: 8G cpu_count: 3 - environment_variables: DEBUG RUSTUP_IO_THREADS + environment_variables: "DEBUG RUSTUP_IO_THREADS" shell: bash run: | sudo pkg install -y -f curl node libnghttp2 npm sudo npm install -g yarn --ignore-scripts curl https://sh.rustup.rs -sSf --output rustup.sh - sh rustup.sh -y --profile minimal --default-toolchain stable + sh rustup.sh -y --profile minimal --default-toolchain beta source "$HOME/.cargo/env" echo "~~~~ rustc --version ~~~~" rustc --version @@ -183,7 +183,6 @@ jobs: freebsd-version yarn install yarn build - yarn test rm -rf node_modules rm -rf target rm -rf .yarn/cache