Skip to content

Commit

Permalink
Remove FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Jan 23, 2024
1 parent 350e787 commit 5d2315f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 48 deletions.
48 changes: 1 addition & 47 deletions .github/workflows/napi2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,57 +153,11 @@ jobs:
name: bindings-${{ matrix.settings.target }}
path: ${{ github.workspace }}/languages/node/infisical.*.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: 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@v4
with:
name: bindings-freebsd
path: ${{ github.workspace }}/languages/node/infisical.*.node
if-no-files-found: error
publish:
name: Publish
runs-on: ubuntu-latest
needs:
- build-freebsd
- build
steps:
- uses: actions/checkout@v4
- name: Setup node
Expand Down
1 change: 0 additions & 1 deletion languages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"aarch64-apple-darwin",
"aarch64-linux-android",
"arm-linux-androideabi",
"x86_64-unknown-freebsd",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc"
]
Expand Down

0 comments on commit 5d2315f

Please sign in to comment.