Skip to content

Commit

Permalink
chore(ci): Remove FreeBSD support (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jul 14, 2023
1 parent 9287eaf commit 8b0f0a2
Showing 1 changed file with 0 additions and 61 deletions.
61 changes: 0 additions & 61 deletions .github/workflows/publish-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,67 +195,7 @@ jobs:
path: |
packages/*/*.node
if-no-files-found: error
build-freebsd:
runs-on: macos-latest
name: Build FreeBSD
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"

- name: Install node dependencies
shell: bash
run: |
yarn
- name: Build
id: build
uses: vmactions/freebsd-vm@v0.2.3
env:
DEBUG: napi:*
RUSTUP_HOME: /usr/local/rustup
CARGO_HOME: /usr/local/cargo
RUSTUP_IO_THREADS: 1
CARGO_PROFILE_RELEASE_LTO: false
CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 8
with:
envs: DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS CARGO_PROFILE_RELEASE_LTO CARGO_PROFILE_RELEASE_CODEGEN_UNITS
usesh: true
mem: 6000
prepare: |
pkg install -y curl node14
curl -qL https://www.npmjs.com/install.sh | sh
npm install --location=global --ignore-scripts 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
ls -lah
whoami
env
freebsd-version
yarn install --ignore-scripts --registry https://registry.npmjs.org --network-timeout 300000
yarn workspaces run build --cargo-flags="--no-default-features"
yarn workspaces run test
rm -rf node_modules
rm -rf target
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: bindings-freebsd
path: |
packages/*/*.node
if-no-files-found: error
test-macOS-windows-binding:
name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
needs:
Expand Down Expand Up @@ -501,7 +441,6 @@ jobs:
- test-linux-arm-gnueabihf-binding
- test-macOS-windows-binding
- test-linux-aarch64-musl-binding
- build-freebsd
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit 8b0f0a2

Please sign in to comment.