From 278e175d9bd3aa50eb2da1193b513774f5fc2a14 Mon Sep 17 00:00:00 2001 From: Luke Southam Date: Wed, 14 Dec 2022 15:42:28 +0000 Subject: [PATCH] Create build_wheel.yml --- .github/workflows/build_wheel.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build_wheel.yml diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml new file mode 100644 index 0000000..6013b4e --- /dev/null +++ b/.github/workflows/build_wheel.yml @@ -0,0 +1,25 @@ +build_wheels: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-python@v2 + with: + python-version: 3.10 + + - name: Setup pip + run: | + python -m pip install --upgrade pip + python -m pip install cibuildwheel==1.6.4 + + - name: Build wheel + run: python -m cibuildwheel --output-dir dist/ + env: + CIBW_BUILD: cp36-* cp37-* cp38-* + + - uses: actions/upload-artifact@v2 + with: + path: ./dist/*.whl