Skip to content

Merge pull request #18 from hi-paris/cleanup #7

Merge pull request #18 from hi-paris/cleanup

Merge pull request #18 from hi-paris/cleanup #7

name: Generating Wheels
on:
push:
# To ignore main branch
# branches-ignore:
# - "main"
# branches: [ main ]
schedule:
- cron: '0 0 1 * *'
# pull_request:
# branches:
# - '*'
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [windows-latest]
os: [macos-latest, ubuntu-latest, windows-latest]
python: ['3.7', '3.8', '3.9', '3.10', '3.11'] # Gives error for Python 3.12
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build and compile
run: make dist
# to supply options, put them in 'env', like:
# env:
# CIBW_SOME_OPTION: value
- uses: actions/upload-artifact@v2
with:
path: ./dist/*.whl