Skip to content

Commit

Permalink
cibuildwheel does the matrix, so remove it
Browse files Browse the repository at this point in the history
Should have noticed that earlier.
  • Loading branch information
polm committed Sep 14, 2023
1 parent 4110694 commit 51a5b03
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,12 @@ on: [push]
jobs:
build_osx:
runs-on: macos-latest
strategy:
max-parallel: 5
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
include:
- python-version: 3.8
py-short: 38
py-short2: 38
- python-version: 3.9
py-short: 39
py-short2: 39
- python-version: "3.10"
py-short: 310
py-short2: 310
- python-version: "3.11"
py-short: 311
py-short2: 311

steps:
- uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
python-version: '3.x'
- name: Download and build MeCab
shell: bash
run: |
Expand All @@ -39,12 +20,6 @@ jobs:
with:
name: osx-wheels
path: dist
- name: Check wheels
shell: bash
run: |
ls -la dist
VERSION=$(python setup.py --version)
pip install dist/mecab_python3-${VERSION}-cp${{ matrix.py-short }}-cp${{ matrix.py-short2 }}-macosx*.whl
- name: Publish to PyPI if tagged
if: startsWith(github.ref, 'refs/tags')
env:
Expand Down

0 comments on commit 51a5b03

Please sign in to comment.