goes-abi 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,67 @@
1
+ name: Publish Python Package
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build:
13
+ name: Build wheels (${{ matrix.os }})
14
+ runs-on: ${{ matrix.os }}
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ os: [ubuntu-latest, windows-latest, macos-latest]
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: actions/setup-python@v5
22
+ with:
23
+ python-version: "3.12"
24
+ - uses: dtolnay/rust-toolchain@stable
25
+ - uses: PyO3/maturin-action@v1
26
+ with:
27
+ command: build
28
+ args: --release --features python --out dist
29
+ sccache: "true"
30
+ - uses: actions/upload-artifact@v4
31
+ with:
32
+ name: wheels-${{ matrix.os }}
33
+ path: dist/*
34
+
35
+ sdist:
36
+ name: Build source distribution
37
+ runs-on: ubuntu-latest
38
+ steps:
39
+ - uses: actions/checkout@v4
40
+ - uses: actions/setup-python@v5
41
+ with:
42
+ python-version: "3.12"
43
+ - uses: dtolnay/rust-toolchain@stable
44
+ - uses: PyO3/maturin-action@v1
45
+ with:
46
+ command: sdist
47
+ args: --out dist
48
+ - uses: actions/upload-artifact@v4
49
+ with:
50
+ name: sdist
51
+ path: dist/*
52
+
53
+ publish:
54
+ name: Publish to PyPI
55
+ needs: [build, sdist]
56
+ runs-on: ubuntu-latest
57
+ environment: pypi
58
+ permissions:
59
+ id-token: write
60
+ steps:
61
+ - uses: actions/download-artifact@v4
62
+ with:
63
+ path: dist
64
+ merge-multiple: true
65
+ - uses: pypa/gh-action-pypi-publish@release/v1
66
+ with:
67
+ packages-dir: dist
@@ -0,0 +1,9 @@
1
+ /target/
2
+ /.venv/
3
+ /dist/
4
+ /wheelhouse/
5
+ *.egg-info/
6
+ __pycache__/
7
+ *.py[cod]
8
+ /examples/out/
9
+ /examples/cache/