Skip to content

Commit 23f7ea3

Browse files
authored
Cibw test (#4)
* Bump version for testpypi * Update for linux images * Enable linux aarch64, disable osx-arm64 * Bunch of changes from scikit-learn's file * Undo last changes * Try to see what is modifying repo * Modify dirty string
1 parent ca7e94e commit 23f7ea3

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/wheels.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
# Loosely based on scikit-learn's config:
4141
# https://github.com/scikit-learn/scikit-learn/blob/main/.github/workflows/wheels.yml
4242
include:
43-
# - os: windows-latest
44-
# python-version: "3.8"
45-
# platform_id: win_amd64
43+
- os: windows-latest
44+
python-version: "3.8"
45+
platform_id: win_amd64
4646

4747
# Linux 64 bit manylinux2014
4848
- os: ubuntu-latest
@@ -51,9 +51,9 @@ jobs:
5151
manylinux_image: manylinux2014
5252

5353
# Use x86 macOS runner to build both x86 and ARM. GitHub does not offer M1/M2 yet (only self-hosted).
54-
# - os: macos-latest
55-
# python-version: "3.8"
56-
# platform_id: macosx_x86_64
54+
- os: macos-latest
55+
python-version: "3.8"
56+
platform_id: macosx_x86_64
5757

5858
steps:
5959
- uses: actions/checkout@v3
@@ -92,14 +92,12 @@ jobs:
9292
CIBW_ENVIRONMENT_MACOS: BREW_LIBOMP="1"
9393

9494
# Uncomment to only build CPython wheels
95-
# TODO
9695
CIBW_BUILD: "cp*"
9796

9897
# macOS: build x86_64 and arm64
9998
#CIBW_ARCHS_MACOS: "x86_64 arm64"
10099

101100
# No 32-bit builds
102-
# TODO
103101
CIBW_SKIP: "*-win32 *_i686 *musl*"
104102

105103
# Use delvewheel on Windows.
@@ -121,11 +119,9 @@ jobs:
121119
CIBW_TEST_SKIP: "*-macosx_arm64"
122120

123121
run: |
124-
git status
122+
sed -i '' 's/{tag}+{ccount}.g{sha}.dirty/{tag}/g' pyproject.toml
125123
python -m pip install cibuildwheel
126124
python -m cibuildwheel --output-dir wheelhouse .
127-
git status
128-
git diff .
129125
shell: bash
130126

131127
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)