Skip to content

Commit

Permalink
Fixed build for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanharg committed Mar 8, 2024
1 parent bb84c54 commit d633e5f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,6 @@ jobs:
path: ./binaryen/libbinaryen
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-v${{env.BINARYEN_VERSION}}-libbinaryen

- name: Set macOS architectures
run: |
if [ ${{ matrix.os }} == 'macos-13' ]; then
echo "CIBW_ARCHS_MACOS=x86_64" >> $GITHUB_ENV
elif [ ${{ matrix.os }} == 'macos-14' ]; then
echo "CIBW_ARCHS_MACOS=arm64" >> $GITHUB_ENV
fi
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5

Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ environment = { BINARYEN_VERSION = "117" }
# WARNING: If you update this also update it in the Github Action!!
before-all = ["bash ./scripts/build_libbinaryen.sh"]

[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]

[tool.cibuildwheel.windows]
archs = ["AMD64"]

Expand Down

0 comments on commit d633e5f

Please sign in to comment.