Skip to content

Commit 5c6bcd8

Browse files
comment out feebsd and wasm
1 parent 69aebbd commit 5c6bcd8

1 file changed

Lines changed: 77 additions & 77 deletions

File tree

.github/workflows/CI.yml

Lines changed: 77 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -159,53 +159,53 @@ jobs:
159159
name: bindings-${{ matrix.settings.target }}
160160
path: '*.wasm'
161161
if-no-files-found: error
162-
build-freebsd:
163-
runs-on: ubuntu-latest
164-
name: Build FreeBSD
165-
steps:
166-
- uses: actions/checkout@v4
167-
- name: Build
168-
id: build
169-
uses: cross-platform-actions/action@v0.28.0
170-
env:
171-
DEBUG: napi:*
172-
RUSTUP_IO_THREADS: 1
173-
with:
174-
operating_system: freebsd
175-
version: '14.2'
176-
memory: 8G
177-
cpu_count: 3
178-
environment_variables: DEBUG RUSTUP_IO_THREADS
179-
shell: bash
180-
run: |
181-
sudo pkg install -y -f curl node libnghttp2 npm
182-
sudo npm install -g corepack
183-
curl https://sh.rustup.rs -sSf --output rustup.sh
184-
sh rustup.sh -y --profile minimal --default-toolchain beta
185-
corepack prepare
186-
corepack enable
187-
source "$HOME/.cargo/env"
188-
echo "~~~~ rustc --version ~~~~"
189-
rustc --version
190-
echo "~~~~ node -v ~~~~"
191-
node -v
192-
echo "~~~~ pnpm --version ~~~~"
193-
pnpm --version
194-
pwd
195-
ls -lah
196-
whoami
197-
env
198-
freebsd-version
199-
pnpm install
200-
pnpm build
201-
rm -rf node_modules
202-
rm -rf target
203-
- name: Upload artifact
204-
uses: actions/upload-artifact@v4
205-
with:
206-
name: bindings-freebsd
207-
path: ${{ env.APP_NAME }}.*.node
208-
if-no-files-found: error
162+
# build-freebsd:
163+
# runs-on: ubuntu-latest
164+
# name: Build FreeBSD
165+
# steps:
166+
# - uses: actions/checkout@v4
167+
# - name: Build
168+
# id: build
169+
# uses: cross-platform-actions/action@v0.28.0
170+
# env:
171+
# DEBUG: napi:*
172+
# RUSTUP_IO_THREADS: 1
173+
# with:
174+
# operating_system: freebsd
175+
# version: '14.2'
176+
# memory: 8G
177+
# cpu_count: 3
178+
# environment_variables: DEBUG RUSTUP_IO_THREADS
179+
# shell: bash
180+
# run: |
181+
# sudo pkg install -y -f curl node libnghttp2 npm
182+
# sudo npm install -g corepack
183+
# curl https://sh.rustup.rs -sSf --output rustup.sh
184+
# sh rustup.sh -y --profile minimal --default-toolchain beta
185+
# corepack prepare
186+
# corepack enable
187+
# source "$HOME/.cargo/env"
188+
# echo "~~~~ rustc --version ~~~~"
189+
# rustc --version
190+
# echo "~~~~ node -v ~~~~"
191+
# node -v
192+
# echo "~~~~ pnpm --version ~~~~"
193+
# pnpm --version
194+
# pwd
195+
# ls -lah
196+
# whoami
197+
# env
198+
# freebsd-version
199+
# pnpm install
200+
# pnpm build
201+
# rm -rf node_modules
202+
# rm -rf target
203+
# - name: Upload artifact
204+
# uses: actions/upload-artifact@v4
205+
# with:
206+
# name: bindings-freebsd
207+
# path: ${{ env.APP_NAME }}.*.node
208+
# if-no-files-found: error
209209
test-macOS-windows-binding:
210210
name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
211211
needs:
@@ -320,43 +320,43 @@ jobs:
320320
# image: ${{ steps.docker.outputs.IMAGE }}
321321
# options: '-v ${{ steps.docker.outputs.PNPM_STORE_PATH }}:${{ steps.docker.outputs.PNPM_STORE_PATH }} -v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }} --platform ${{ steps.docker.outputs.PLATFORM }}'
322322
# run: npm run test
323-
test-wasi:
324-
name: Test WASI target
325-
needs:
326-
- build
327-
runs-on: ubuntu-latest
328-
steps:
329-
- uses: actions/checkout@v4
330-
- name: setup pnpm
331-
uses: pnpm/action-setup@v4
332-
- name: Setup node
333-
uses: actions/setup-node@v4
334-
with:
335-
node-version: 20
336-
cache: pnpm
337-
- name: Install dependencies
338-
run: pnpm install
339-
- name: Download artifacts
340-
uses: actions/download-artifact@v4
341-
with:
342-
name: bindings-wasm32-wasip1-threads
343-
path: .
344-
- name: List packages
345-
run: ls -R .
346-
shell: bash
347-
- name: Test bindings
348-
run: pnpm test
349-
env:
350-
NAPI_RS_FORCE_WASI: 1
323+
# test-wasi:
324+
# name: Test WASI target
325+
# needs:
326+
# - build
327+
# runs-on: ubuntu-latest
328+
# steps:
329+
# - uses: actions/checkout@v4
330+
# - name: setup pnpm
331+
# uses: pnpm/action-setup@v4
332+
# - name: Setup node
333+
# uses: actions/setup-node@v4
334+
# with:
335+
# node-version: 20
336+
# cache: pnpm
337+
# - name: Install dependencies
338+
# run: pnpm install
339+
# - name: Download artifacts
340+
# uses: actions/download-artifact@v4
341+
# with:
342+
# name: bindings-wasm32-wasip1-threads
343+
# path: .
344+
# - name: List packages
345+
# run: ls -R .
346+
# shell: bash
347+
# - name: Test bindings
348+
# run: pnpm test
349+
# env:
350+
# NAPI_RS_FORCE_WASI: 1
351351
publish:
352352
name: Publish
353353
runs-on: ubuntu-latest
354354
needs:
355355
- lint
356-
- build-freebsd
356+
# - build-freebsd
357357
- test-macOS-windows-binding
358358
# - test-linux-binding
359-
- test-wasi
359+
# - test-wasi
360360
steps:
361361
- uses: actions/checkout@v4
362362
- name: setup pnpm

0 commit comments

Comments
 (0)