From f0a9469668d3942b791652adc63995da26ecd117 Mon Sep 17 00:00:00 2001 From: cecilkorik Date: Thu, 1 Feb 2024 18:18:10 -0500 Subject: [PATCH] attempt CI --- .gitea/workflows/wheels.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/wheels.yml diff --git a/.gitea/workflows/wheels.yml b/.gitea/workflows/wheels.yml new file mode 100644 index 0000000..28a86c5 --- /dev/null +++ b/.gitea/workflows/wheels.yml @@ -0,0 +1,31 @@ +name: Build + +on: [push, pull_request] + +jobs: + build_wheels: + name: Build wheels on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-20.04, windows-2019, macOS-11] + + steps: + - uses: actions/checkout@v4 + + # Used to host cibuildwheel + - uses: actions/setup-python@v3 + + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.16.5 + + - name: Build wheels + run: python -m cibuildwheel --output-dir wheelhouse + # to supply options, put them in 'env', like: + # env: + # CIBW_SOME_OPTION: value + + - uses: actions/upload-artifact@v4 + with: + name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} + path: ./wheelhouse/*.whl \ No newline at end of file