summaryrefslogtreecommitdiff
path: root/.github/workflows/mac.yml
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2021-11-25 14:43:55 +0900
committerGitHub <noreply@github.com>2021-11-25 14:43:55 +0900
commitbdf0511e29b02427437b03e7d8454bd5076e837f (patch)
tree2ec378629c48b23468dc4f5f7f6df46af9d712a0 /.github/workflows/mac.yml
parent6129789e9f6ebccdb19b23c2cd1dc9551e57fc53 (diff)
downloadmsgpack-python-bdf0511e29b02427437b03e7d8454bd5076e837f.tar.gz
Refactor CI (#492)
* Use cibuildwheel to build wheels. * Use matrix
Diffstat (limited to '.github/workflows/mac.yml')
-rw-r--r--.github/workflows/mac.yml80
1 files changed, 0 insertions, 80 deletions
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
deleted file mode 100644
index 85844e7..0000000
--- a/.github/workflows/mac.yml
+++ /dev/null
@@ -1,80 +0,0 @@
-name: Build macOS Wheels
-on:
- push:
- create:
-
-jobs:
- build:
- runs-on: macos-latest
-
- steps:
- - name: Checkout
- uses: actions/checkout@v1
-
- # Python 3.9
- - name: Set up Python 3.9
- uses: actions/setup-python@v1
- with:
- python-version: "3.9"
-
- - name: Cythonize
- run: |
- pip install -U pip
- pip install -r requirements.txt
- make cython
-
- - name: Build wheels
- uses: pypa/cibuildwheel@v2.2.2
- env:
- CIBW_ARCHS_MACOS: x86_64 universal2
- CIBW_SKIP: pp*
-
- - name: Run test
- run: |
- ls wheelhouse/
- pip install pytest
- pip install -v msgpack --only-binary :all: -f wheelhouse/ --no-index
- pytest -v test
-
- # Python 3.10
- - name: Set up Python 3.10
- uses: actions/setup-python@v1
- with:
- python-version: "3.10"
-
- - name: Run test
- run: |
- pip install pytest
- pip install -v msgpack --only-binary :all: -f wheelhouse/ --no-index
- pytest -v test
-
- # Python 3.8
- - name: Set up Python 3.8
- uses: actions/setup-python@v1
- with:
- python-version: "3.8"
-
- - name: Run test
- run: |
- pip install pytest
- pip install -v msgpack --only-binary :all: -f wheelhouse/ --no-index
- pytest -v test
-
- # Python 3.7
- - name: Set up Python 3.7
- uses: actions/setup-python@v1
- with:
- python-version: "3.7"
-
- - name: Run test
- run: |
- pip install pytest
- pip install -v msgpack --only-binary :all: -f wheelhouse/ --no-index
- pytest -v test
-
-
- - name: Upload Wheels
- uses: actions/upload-artifact@v1
- with:
- name: macos-wheels
- path: ./wheelhouse/