-
Notifications
You must be signed in to change notification settings - Fork 20
50 lines (41 loc) · 1.04 KB
/
Copy pathbuild.yml
File metadata and controls
50 lines (41 loc) · 1.04 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Build all
on:
push:
branches:
- master
paths:
- '**' # include everything
- '!docs/**' # exclude docs
- '!README.md' # exclude README
pull_request:
branches:
- master
paths:
- '**' # include everything
- '!docs/**' # exclude docs
- '!README.md' # exclude README
workflow_dispatch: # Manual trigger
jobs:
build-sdist:
uses: './.github/workflows/_build_sdist_.yml'
build-wheels:
uses: './.github/workflows/_build_wheels_.yml'
build:
needs:
- build-sdist
- build-wheels
name: Build all
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
pattern: pyvcam_*
path: dist/
merge-multiple: true
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install dependencies
run: python -m pip install --upgrade pip twine packaging
- name: Check package
run: python -m twine check --strict dist/*