Skip to content

Commit fbb18bb

Browse files
committed
ci: remove macos intel wheel job from release matrix
1 parent de64143 commit fbb18bb

1 file changed

Lines changed: 2 additions & 48 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CI -- Build wheels on Linux/Windows/macOS, publish to PyPI on tag.
1+
# CI -- Build wheels on Linux/Windows/macOS ARM, publish to PyPI on tag.
22
#
33
# Rust source is injected at build time from three GitHub Actions secrets
44
# (RUST_SRC_B64_1 + RUST_SRC_B64_2 + RUST_SRC_B64_3) to keep the proprietary
@@ -120,52 +120,6 @@ jobs:
120120
name: wheels-windows-x64-py${{ matrix.python-version }}
121121
path: dist
122122

123-
# ------------------------------------------------------------------
124-
# macOS Intel (x86_64) wheels
125-
# ------------------------------------------------------------------
126-
macos-intel:
127-
name: macos-x86_64-py${{ matrix.python-version }}
128-
runs-on: macos-13
129-
strategy:
130-
fail-fast: false
131-
matrix:
132-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
133-
steps:
134-
- uses: actions/checkout@v4
135-
136-
- name: Inject Rust source
137-
env:
138-
PART1: ${{ secrets.RUST_SRC_B64_1 }}
139-
PART2: ${{ secrets.RUST_SRC_B64_2 }}
140-
PART3: ${{ secrets.RUST_SRC_B64_3 }}
141-
run: |
142-
if [ -z "$PART1" ]; then
143-
echo "::warning::RUST_SRC_B64_1 secret not set -- skipping wheel build"
144-
echo "SKIP_BUILD=1" >> "$GITHUB_ENV"
145-
else
146-
echo "${PART1}${PART2}${PART3}" | base64 -d | tar -xzf - -C .
147-
echo "SKIP_BUILD=0" >> "$GITHUB_ENV"
148-
fi
149-
150-
- uses: actions/setup-python@v5
151-
if: env.SKIP_BUILD == '0'
152-
with:
153-
python-version: ${{ matrix.python-version }}
154-
155-
- name: Build macOS Intel wheel
156-
if: env.SKIP_BUILD == '0'
157-
uses: PyO3/maturin-action@v1
158-
with:
159-
target: x86_64
160-
args: ${{ env.MATURIN_ARGS }} -i python
161-
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
162-
163-
- uses: actions/upload-artifact@v4
164-
if: env.SKIP_BUILD == '0'
165-
with:
166-
name: wheels-macos-x86_64-py${{ matrix.python-version }}
167-
path: dist
168-
169123
# ------------------------------------------------------------------
170124
# macOS Apple Silicon (aarch64) wheels
171125
# ------------------------------------------------------------------
@@ -258,7 +212,7 @@ jobs:
258212
startsWith(github.ref, 'refs/tags/v') &&
259213
github.repository == 'GuillaumeLessard/qector-decoder' &&
260214
github.event_name != 'pull_request'
261-
needs: [linux-x86_64, windows-x64, macos-intel, macos-arm, sdist]
215+
needs: [linux-x86_64, windows-x64, macos-arm, sdist]
262216
environment: pypi
263217
permissions:
264218
id-token: write

0 commit comments

Comments
 (0)