Skip to content

Commit

Permalink
remove strange archs
Browse files Browse the repository at this point in the history
  • Loading branch information
victorteokw committed Feb 2, 2024
1 parent 2f2c1e3 commit fafbcf1
Showing 1 changed file with 0 additions and 70 deletions.
70 changes: 0 additions & 70 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,6 @@ jobs:
sudo apt-get update
sudo apt-get install perl gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabihf build-essential cmake protobuf-compiler libssl-dev glibc-source musl-tools -y
build: yarn build --target armv7-unknown-linux-gnueabihf --use-napi-cross
- host: ubuntu-latest
target: aarch64-linux-android
setup: |
sudo apt-get update
sudo apt-get install --yes --upgrade pkg-config build-essential cmake protobuf-compiler libssl-dev glibc-source musl-tools perl
export OPENSSL_LIB_DIR="/usr/lib/aarch64-linux-android"
export OPENSSL_INCLUDE="/usr/include/openssl"
build: yarn build --target aarch64-linux-android
- host: ubuntu-latest
target: armv7-linux-androideabi
setup: |
sudo apt-get update
sudo apt-get install --yes --upgrade pkg-config build-essential cmake protobuf-compiler libssl-dev glibc-source musl-tools perl
export OPENSSL_LIB_DIR="/usr/lib/armv7-linux-androideabi"
export OPENSSL_INCLUDE="/usr/include/openssl"
build: yarn build --target armv7-linux-androideabi
- host: ubuntu-latest
target: aarch64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
Expand All @@ -106,12 +90,6 @@ jobs:
- host: windows-latest
target: aarch64-pc-windows-msvc
build: yarn build --target aarch64-pc-windows-msvc
- host: ubuntu-latest
target: riscv64gc-unknown-linux-gnu
setup: |
sudo apt-get update
sudo apt-get install gcc-riscv64-linux-gnu -y
build: yarn build --target riscv64gc-unknown-linux-gnu
name: stable - ${{ matrix.settings.target }} - node@20
runs-on: ${{ matrix.settings.host }}
steps:
Expand Down Expand Up @@ -176,53 +154,6 @@ jobs:
name: bindings-${{ matrix.settings.target }}
path: ${{ env.APP_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.22.0
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
prepare: |
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: ${{ 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 @@ -468,7 +399,6 @@ jobs:
name: Publish
runs-on: ubuntu-latest
needs:
- build-freebsd
- test-macOS-windows-binding
- test-linux-x64-gnu-binding
- test-linux-x64-musl-binding
Expand Down

0 comments on commit fafbcf1

Please sign in to comment.