@@ -140,56 +140,6 @@ jobs:
140140 name : bindings-${{ matrix.settings.target }}
141141 path : ${{ env.APP_NAME }}.*.node
142142 if-no-files-found : error
143- build-freebsd :
144- runs-on : macos-12
145- name : Build FreeBSD
146- steps :
147- - uses : actions/checkout@v3
148- - name : Build
149- id : build
150- uses : vmactions/freebsd-vm@v0
151- env :
152- DEBUG : napi:*
153- RUSTUP_HOME : /usr/local/rustup
154- CARGO_HOME : /usr/local/cargo
155- RUSTUP_IO_THREADS : 1
156- with :
157- envs : DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS
158- usesh : true
159- mem : 3000
160- prepare : |
161- pkg install -y -f curl node libnghttp2
162- curl -qL https://www.npmjs.com/install.sh | sh
163- npm install --location=global --ignore-scripts yarn
164- curl https://sh.rustup.rs -sSf --output rustup.sh
165- sh rustup.sh -y --profile minimal --default-toolchain beta
166- export PATH="/usr/local/cargo/bin:$PATH"
167- echo "~~~~ rustc --version ~~~~"
168- rustc --version
169- echo "~~~~ node -v ~~~~"
170- node -v
171- echo "~~~~ yarn --version ~~~~"
172- yarn --version
173- run : |
174- export PATH="/usr/local/cargo/bin:$PATH"
175- pwd
176- ls -lah
177- whoami
178- env
179- freebsd-version
180- yarn install
181- yarn build
182- strip -x *.node
183- yarn test
184- rm -rf node_modules
185- rm -rf target
186- rm -rf .yarn/cache
187- - name : Upload artifact
188- uses : actions/upload-artifact@v3
189- with :
190- name : bindings-freebsd
191- path : ${{ env.APP_NAME }}.*.node
192- if-no-files-found : error
193143 test-macOS-windows-binding :
194144 name : Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
195145 needs :
@@ -442,7 +392,6 @@ jobs:
442392 name : Publish
443393 runs-on : ubuntu-latest
444394 needs :
445- - build-freebsd
446395 - test-macOS-windows-binding
447396 - test-linux-x64-gnu-binding
448397 - test-linux-x64-musl-binding
0 commit comments