Skip to content

Commit

Permalink
added env variables for ciwheelbuild workflow errors
Browse files Browse the repository at this point in the history
  • Loading branch information
deronsmith committed Dec 2, 2024
1 parent e8a4685 commit 73e9878
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ on:
branches:
- dev

env:
MACOSX_DEPLOYMENT_TARGET=10.12

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
python_version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ package-dir = {"esat" = "esat", "esat_eval" = "eval"}
include-package-data = true

[tool.cibuildwheel]
skip = "*-musllinux_i686" # No musllinux-i686 rust compiler available.
skip = "cp36-* cp37-* cp-38* pp37-* *-manylinux_i686 *_ppc64le *_s390x *_universal2 *-musllinux_i686"
linux.before-all = "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal"
linux.environment = { PATH="$HOME/.cargo/bin:$PATH" }
macos.before-all = "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal"
windows.before-all = "rustup target add aarch64-pc-windows-msvc i586-pc-windows-msvc i686-pc-windows-msvc x86_64-pc-windows-msvc"
windows.archs = "all"

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
Expand Down

0 comments on commit 73e9878

Please sign in to comment.