Skip to content

Commit

Permalink
fix: pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mkadirtan committed Nov 12, 2023
1 parent 8ac7b3f commit d8f64e9
Show file tree
Hide file tree
Showing 6 changed files with 4,874 additions and 2,393 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,52 +160,6 @@ jobs:
name: bindings-${{ matrix.settings.target }}
path: ${{ env.ARTIFACT_NAME }}.*.node
if-no-files-found: error
build-freebsd:
runs-on: macos-12
name: Build FreeBSD
steps:
- uses: actions/checkout@v4
- name: Build
id: build
uses: cross-platform-actions/action@v0.21.0
env:
DEBUG: napi:*
RUSTUP_IO_THREADS: 1
with:
operating_system: freebsd
version: '13.2'
memory: 13G
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 beta
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
rm -rf node_modules
rm -rf target
rm -rf .yarn/cache
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: bindings-freebsd
path: ${{ env.ARTIFACT_NAME }}.*.node
if-no-files-found: error
test-macOS-windows-binding:
name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
needs:
Expand Down
5 changes: 0 additions & 5 deletions .yarnrc.yml

This file was deleted.

3 changes: 0 additions & 3 deletions npm/freebsd-x64/README.md

This file was deleted.

32 changes: 0 additions & 32 deletions npm/freebsd-x64/package.json

This file was deleted.

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"armv7-unknown-linux-gnueabihf",
"aarch64-apple-darwin",
"aarch64-linux-android",
"x86_64-unknown-freebsd",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"armv7-linux-androideabi"
Expand Down Expand Up @@ -106,9 +105,6 @@
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"optionalDependencies": {

},
"packageManager": "yarn@4.0.1"
}
Loading

0 comments on commit d8f64e9

Please sign in to comment.