Skip to content

Commit

Permalink
chore: remove some targets
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Oct 14, 2024
1 parent e7abdb2 commit e8f67d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 68 deletions.
65 changes: 0 additions & 65 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ jobs:
build: |-
yarn build:rs --target x86_64-unknown-linux-gnu
yarn build:ts
- host: ubuntu-latest
target: x86_64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
build: |-
rustup target add x86_64-unknown-linux-musl
yarn build:rs --target x86_64-unknown-linux-musl
yarn build:ts
- host: macos-latest
target: aarch64-apple-darwin
build: |-
Expand All @@ -65,14 +58,6 @@ jobs:
build: |-
yarn build:rs --target aarch64-linux-android
yarn build:ts
- host: ubuntu-latest
target: aarch64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
build: |-
set -e &&
rustup target add aarch64-unknown-linux-musl &&
yarn build:rs --target aarch64-unknown-linux-musl
yarn build:ts
- host: windows-latest
target: aarch64-pc-windows-msvc
build: |-
Expand Down Expand Up @@ -142,53 +127,6 @@ jobs:
name: bindings-${{ matrix.settings.target }}
path: dist/src/${{ env.APP_NAME }}.*.node
if-no-files-found: error
build-freebsd:
runs-on: macos-13
name: Build FreeBSD
steps:
- uses: actions/checkout@v4
- name: Build
id: build
uses: cross-platform-actions/[email protected]
env:
DEBUG: napi:*
RUSTUP_IO_THREADS: 1
with:
operating_system: freebsd
version: '13.2'
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: dist/src/${{ env.APP_NAME }}.*.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 @@ -392,12 +330,9 @@ jobs:
name: Publish
runs-on: ubuntu-latest
needs:
- build-freebsd
- test-macOS-windows-binding
- test-linux-x64-gnu-binding
- test-linux-x64-musl-binding
- test-linux-aarch64-gnu-binding
- test-linux-aarch64-musl-binding
- universal-macOS
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
"aarch64-apple-darwin",
"aarch64-linux-android",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"x86_64-unknown-linux-musl",
"x86_64-unknown-freebsd",
"universal-apple-darwin"
]
}
Expand Down

0 comments on commit e8f67d2

Please sign in to comment.