nexus-fetch 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,129 @@
1
+ name: Build & Publish nexus-fetch (PyPI)
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ - main
8
+ tags:
9
+ - "v*"
10
+ pull_request:
11
+ workflow_dispatch:
12
+
13
+ permissions:
14
+ contents: write
15
+ id-token: write
16
+
17
+ jobs:
18
+ linux:
19
+ name: Wheel Linux x86_64
20
+ runs-on: ubuntu-22.04
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ - uses: actions/setup-python@v5
24
+ with:
25
+ python-version: "3.11"
26
+ - name: Build Linux manylinux x86_64 binary wheel
27
+ uses: PyO3/maturin-action@v1
28
+ env:
29
+ RUSTFLAGS: "--remap-path-prefix=${{ github.workspace }}=/src"
30
+ with:
31
+ target: x86_64
32
+ args: --release --out dist
33
+ manylinux: 2_28
34
+ - uses: actions/upload-artifact@v4
35
+ with:
36
+ name: wheels-linux-x86_64
37
+ path: dist
38
+
39
+ linux-arm64:
40
+ name: Wheel Linux aarch64
41
+ runs-on: ubuntu-24.04-arm
42
+ steps:
43
+ - uses: actions/checkout@v4
44
+ - uses: actions/setup-python@v5
45
+ with:
46
+ python-version: "3.11"
47
+ - name: Build Linux manylinux aarch64 binary wheel
48
+ uses: PyO3/maturin-action@v1
49
+ env:
50
+ RUSTFLAGS: "--remap-path-prefix=${{ github.workspace }}=/src"
51
+ with:
52
+ target: aarch64
53
+ args: --release --out dist
54
+ manylinux: 2_28
55
+ - uses: actions/upload-artifact@v4
56
+ with:
57
+ name: wheels-linux-aarch64
58
+ path: dist
59
+
60
+ windows:
61
+ name: Wheel Windows x86_64
62
+ runs-on: windows-latest
63
+ steps:
64
+ - uses: actions/checkout@v4
65
+ - uses: actions/setup-python@v5
66
+ with:
67
+ python-version: "3.11"
68
+ - name: Build Windows x86_64 binary wheel
69
+ uses: PyO3/maturin-action@v1
70
+ env:
71
+ RUSTFLAGS: "--remap-path-prefix=${{ github.workspace }}=/src"
72
+ with:
73
+ target: x86_64
74
+ args: --release --out dist
75
+ - uses: actions/upload-artifact@v4
76
+ with:
77
+ name: wheels-windows-x86_64
78
+ path: dist
79
+
80
+ macos:
81
+ name: Wheel macOS arm64
82
+ runs-on: macos-15
83
+ steps:
84
+ - uses: actions/checkout@v4
85
+ - uses: actions/setup-python@v5
86
+ with:
87
+ python-version: "3.11"
88
+ - name: Build macOS arm64 binary wheel
89
+ uses: PyO3/maturin-action@v1
90
+ env:
91
+ RUSTFLAGS: "--remap-path-prefix=${{ github.workspace }}=/src"
92
+ with:
93
+ target: aarch64
94
+ args: --release --out dist
95
+ - uses: actions/upload-artifact@v4
96
+ with:
97
+ name: wheels-macos-arm64
98
+ path: dist
99
+
100
+ sdist:
101
+ name: Source Distribution (sdist)
102
+ runs-on: ubuntu-22.04
103
+ steps:
104
+ - uses: actions/checkout@v4
105
+ - name: Build sdist
106
+ uses: PyO3/maturin-action@v1
107
+ with:
108
+ command: sdist
109
+ args: --out dist
110
+ - uses: actions/upload-artifact@v4
111
+ with:
112
+ name: wheels-sdist
113
+ path: dist
114
+
115
+ publish:
116
+ name: Publish to PyPI
117
+ if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
118
+ needs: [linux, linux-arm64, windows, macos, sdist]
119
+ runs-on: ubuntu-22.04
120
+ steps:
121
+ - uses: actions/download-artifact@v4
122
+ with:
123
+ pattern: wheels-*
124
+ path: dist
125
+ merge-multiple: true
126
+ - name: Publish binary wheels to PyPI
127
+ uses: pypa/gh-action-pypi-publish@release/v1
128
+ with:
129
+ skip-existing: true
@@ -0,0 +1,5 @@
1
+ /target
2
+ *.parquet
3
+ *.csv
4
+ *.zip
5
+ .DS_Store