Skip to content

Commit

Permalink
once more
Browse files Browse the repository at this point in the history
  • Loading branch information
sxlijin committed Oct 11, 2024
1 parent 2e1558d commit a997679
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-typescript-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
host: ubuntu-latest
# from https://github.com/PyO3/maturin-action?tab=readme-ov-file#manylinux-docker-container
# need a new version of manylinux to build crates on arm64-linux
container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
node_build: pnpm build:napi-release --target aarch64-unknown-linux-gnu --use-napi-cross
cargo_args: -p baml-typescript-ffi -p baml-python-ffi

Expand All @@ -39,7 +40,6 @@ jobs:
- target: x86_64-pc-windows-msvc
host: windows-latest
node_build: pnpm build:napi-release --target x86_64-pc-windows-msvc
setup-python-architecture: x64
cargo_args: -p baml-typescript-ffi -p baml-python-ffi

- target: x86_64-unknown-linux-gnu
Expand All @@ -58,7 +58,7 @@ jobs:
CXX_x86_64_unknown_linux_musl=x86_64-linux-musl-g++
AR_x86_64_unknown_linux_musl=x86_64-linux-musl-ar
EOF
node_build: env && pnpm build:napi-release --target x86_64-unknown-linux-musl --use-napi-cross
node_build: pnpm build:napi-release --target x86_64-unknown-linux-musl --use-napi-cross

- target: aarch64-unknown-linux-musl
host: ubuntu-latest
Expand All @@ -70,6 +70,7 @@ jobs:

name: Build ${{ matrix._.target }}
runs-on: ${{ matrix._.host }}
container: ${{ matrix._.container }}
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit a997679

Please sign in to comment.