forked from jf---/python-fcl
-
Notifications
You must be signed in to change notification settings - Fork 62
35 lines (32 loc) · 899 Bytes
/
push.yml
File metadata and controls
35 lines (32 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build Pull Requests
on: [pull_request]
jobs:
formatting:
name: Check Formatting
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: ruff
run: |
pip install ruff==0.9.6
ruff check .
build_wheels:
name: Build wheel on ${{matrix.platform}}
runs-on: ${{matrix.platform}}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest, macos-15-intel]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/cibuildwheel@v3.2.1
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: wheels-${{ matrix.platform }}