From 1e02f1794605bc841db6447137bfd7f21dcc118d Mon Sep 17 00:00:00 2001 From: xusd320 Date: Tue, 16 Jul 2024 12:30:26 +0800 Subject: [PATCH] fix: ci --- .github/workflows/CI.yml | 48 ---------------------------------------- 1 file changed, 48 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 14e831b..a76b7f4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -146,53 +146,6 @@ jobs: name: bindings-${{ matrix.settings.target }} path: ${{ env.APP_NAME }}.*.node if-no-files-found: error - build-freebsd: - runs-on: ubuntu-latest - name: Build FreeBSD - steps: - - uses: actions/checkout@v4 - - name: Build - id: build - uses: cross-platform-actions/action@v0.25.0 - env: - DEBUG: napi:* - RUSTUP_IO_THREADS: 1 - with: - operating_system: freebsd - version: "14.0" - memory: 8G - cpu_count: 3 - 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 - source "$HOME/.cargo/env" - echo "~~~~ rustc --version ~~~~" - rustc --version - echo "~~~~ node -v ~~~~" - node -v - echo "~~~~ yarn --version ~~~~" - yarn --version - pwd - ls -lah - whoami - env - freebsd-version - yarn install - yarn build - yarn test - rm -rf node_modules - rm -rf target - rm -rf .yarn/cache - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: bindings-freebsd - path: ${{ env.APP_NAME }}.*.node - if-no-files-found: error test-macOS-windows-binding: name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} needs: @@ -439,7 +392,6 @@ jobs: name: Publish runs-on: ubuntu-latest needs: - - build-freebsd - test-macOS-windows-binding - test-linux-x64-gnu-binding - test-linux-x64-musl-binding