@@ -84,23 +84,41 @@ ignore = [
84
84
]
85
85
86
86
[tool.cibuildwheel]
87
- before-build = " curl https: //sh.rustup.rs -sSf | sh -s -- --default-toolchain =stable --profile =minimal -y && rustup show "
87
+ before-build = " curl https: //sh.rustup.rs -sSf | sh -s -- --default-toolchain =stable --profile =minimal -y "
88
88
build = " cp39-* "
89
89
skip = " *musllinux* "
90
90
test-command = " pytest -vvv {project} /{{module}} /tests "
91
91
test-requires = [" pytest " , " pytest-cov " , " pytest-sugar " , " pytest-xdist " ]
92
92
93
93
[tool.cibuildwheel.linux]
94
+ before-build = " " "
95
+ curl https: //sh.rustup.rs -sSf | sh -s -- --default-toolchain =stable --profile =minimal -y
96
+ rustup target add aarch64-unknown-linux-gnu
97
+ rustup target add x86_64-unknown-linux-gnu
98
+ rustup show
99
+ " " "
94
100
environment = {PATH=" $HOME /.cargo /bin:$PATH " , CARGO_TERM_COLOR=" always " }
95
- archs = " x86_64 "
101
+ archs = " x86_64 aarch64 "
96
102
97
103
[tool.cibuildwheel.macos]
104
+ before-build = " " "
105
+ curl https: //sh.rustup.rs -sSf | sh -s -- --default-toolchain =stable --profile =minimal -y
106
+ rustup target add aarch64-apple-darwin
107
+ rustup target add x86_64-apple-darwin
108
+ rustup show
109
+ " " "
98
110
environment = {PATH=" $HOME /.cargo /bin:$PATH " , CARGO_TERM_COLOR=" always " , MACOS_DEPLOYMENT_TARGET=11.0}
99
111
archs = " x86_64 arm64 "
100
112
101
113
[tool.cibuildwheel.windows]
114
+ before-build = " " "
115
+ curl https: //sh.rustup.rs -sSf | sh -s -- --default-toolchain =stable --profile =minimal -y
116
+ rustup target add x86_64-pc-windows-msvc
117
+ rustup target add aarch64-pc-windows-msvc
118
+ rustup show
119
+ " " "
102
120
environment = {PATH=" $UserProfile\\.cargo\bin;$PATH " , CARGO_TERM_COLOR=" always " }
103
- archs = " AMD64 x86 "
121
+ archs = " amd64 arm64 "
104
122
105
123
[tool.coverage.run]
106
124
branch = true
0 commit comments