@@ -20,80 +20,146 @@ jobs:
2020 strategy :
2121 matrix :
2222 include :
23+ # macOS x86_64
24+ - arch : x86_64
25+ os : macos-latest
26+ python : " 3.8"
27+ link : https://github.com/disintar/ton/releases/download/ton-cpython-38-x86_64-darwin/
28+ file : python_ton.cpython-38-darwin.so
29+ fix_tag : x86_64
2330 - arch : x86_64
2431 os : macos-latest
2532 python : " 3.10"
2633 link : https://github.com/disintar/ton/releases/download/ton-cpython-310-x86_64-darwin/
2734 file : python_ton.cpython-310-darwin.so
2835 fix_tag : x86_64
29-
3036 - arch : x86_64
3137 os : macos-latest
3238 python : " 3.11"
3339 link : https://github.com/disintar/ton/releases/download/ton-cpython-311-x86_64-darwin/
3440 file : python_ton.cpython-311-darwin.so
3541 fix_tag : x86_64
42+ - arch : x86_64
43+ os : macos-latest
44+ python : " 3.12"
45+ link : https://github.com/disintar/ton/releases/download/ton-cpython-312-x86_64-darwin/
46+ file : python_ton.cpython-312-darwin.so
47+ fix_tag : x86_64
48+ - arch : x86_64
49+ os : macos-latest
50+ python : " 3.13"
51+ link : https://github.com/disintar/ton/releases/download/ton-cpython-313-x86_64-darwin/
52+ file : python_ton.cpython-313-darwin.so
53+ fix_tag : x86_64
3654
55+ # Linux x86_64 (self-hosted ARC) new Pythons
3756 - arch : x86_64
38- os : Linux
57+ os : arc-runner-set
58+ python : " 3.12"
59+ link : https://github.com/disintar/ton/releases/download/ton-cpython-312-x86_64-linux/
60+ file : python_ton.cpython-312-x86_64-linux-gnu.so
61+ fix_tag : manylinux2014_x86_64
62+ - arch : x86_64
63+ os : arc-runner-set
64+ python : " 3.13"
65+ link : https://github.com/disintar/ton/releases/download/ton-cpython-313-x86_64-linux/
66+ file : python_ton.cpython-313-x86_64-linux-gnu.so
67+ fix_tag : manylinux2014_x86_64
68+
69+ # Legacy Linux x86_64 (kuber) kept
70+ - arch : x86_64
71+ os : kuber
72+ python : " 3.8"
73+ link : https://github.com/disintar/ton/releases/download/ton-cpython-38-x86_64-linux/
74+ file : python_ton.cpython-38-x86_64-linux-gnu.so
75+ fix_tag : manylinux2014_x86_64
76+ - arch : x86_64
77+ os : kuber
3978 python : " 3.9"
4079 link : https://github.com/disintar/ton/releases/download/ton-cpython-39-x86_64-linux/
4180 file : python_ton.cpython-39-x86_64-linux-gnu.so
4281 fix_tag : manylinux2014_x86_64
43-
4482 - arch : x86_64
45- os : Linux
83+ os : kuber
4684 python : " 3.10"
4785 link : https://github.com/disintar/ton/releases/download/ton-cpython-310-x86_64-linux/
4886 file : python_ton.cpython-310-x86_64-linux-gnu.so
4987 fix_tag : manylinux2014_x86_64
50-
5188 - arch : x86_64
52- os : Linux
89+ os : kuber
5390 python : " 3.11"
5491 link : https://github.com/disintar/ton/releases/download/ton-cpython-311-x86_64-linux/
5592 file : python_ton.cpython-311-x86_64-linux-gnu.so
5693 fix_tag : manylinux2014_x86_64
5794
95+ # macOS arm64
96+ - arch : aarch64
97+ os : macos-15
98+ python : " 3.8"
99+ link : https://github.com/disintar/ton/releases/download/ton-cpython-38-aarch64-darwin/
100+ file : python_ton.cpython-38-darwin.so
101+ fix_tag : arm64
58102 - arch : aarch64
59- os : macOS
103+ os : macos-15
60104 python : " 3.10"
61105 link : https://github.com/disintar/ton/releases/download/ton-cpython-310-aarch64-darwin/
62106 file : python_ton.cpython-310-darwin.so
63107 fix_tag : arm64
64-
65108 - arch : aarch64
66- os : macOS
109+ os : macos-15
67110 python : " 3.11"
68111 link : https://github.com/disintar/ton/releases/download/ton-cpython-311-aarch64-darwin/
69112 file : python_ton.cpython-311-darwin.so
70113 fix_tag : arm64
114+ - arch : aarch64
115+ os : macos-15
116+ python : " 3.12"
117+ link : https://github.com/disintar/ton/releases/download/ton-cpython-312-aarch64-darwin/
118+ file : python_ton.cpython-312-darwin.so
119+ fix_tag : arm64
120+ - arch : aarch64
121+ os : macos-15
122+ python : " 3.13"
123+ link : https://github.com/disintar/ton/releases/download/ton-cpython-313-aarch64-darwin/
124+ file : python_ton.cpython-313-darwin.so
125+ fix_tag : arm64
71126
127+ # Windows x64
72128 - arch : x86_64
73129 os : windows-2019
74130 python : " 3.9"
75131 link : https://github.com/disintar/ton/releases/download/ton-cpython-39-x86_64-windows/
76132 file : python_ton.cp39-win_amd64.pyd
77133 fix_tag :
78-
79134 - arch : x86_64
80135 os : windows-2019
81136 python : " 3.10"
82137 link : https://github.com/disintar/ton/releases/download/ton-cpython-310-x86_64-windows/
83138 file : python_ton.cp310-win_amd64.pyd
84139 fix_tag :
85-
86140 - arch : x86_64
87141 os : windows-2019
88142 python : " 3.11"
89143 link : https://github.com/disintar/ton/releases/download/ton-cpython-311-x86_64-windows/
90144 file : python_ton.cp311-win_amd64.pyd
91145 fix_tag :
146+ - arch : x86_64
147+ os : windows-2019
148+ python : " 3.12"
149+ link : https://github.com/disintar/ton/releases/download/ton-cpython-312-x86_64-windows/
150+ file : python_ton.cp312-win_amd64.pyd
151+ fix_tag :
152+ - arch : x86_64
153+ os : windows-2019
154+ python : " 3.13"
155+ link : https://github.com/disintar/ton/releases/download/ton-cpython-313-x86_64-windows/
156+ file : python_ton.cp313-win_amd64.pyd
157+ fix_tag :
92158
93159 runs-on : ${{ matrix.os }}
94160
95161 steps :
96- - uses : actions/checkout@v3
162+ - uses : actions/checkout@v4
97163 - uses : actions/setup-python@v3
98164 with :
99165 python-version : ${{ matrix.python }}
@@ -105,6 +171,12 @@ jobs:
105171 python -m pip install -r built_requirements.txt
106172 python -m pip install -r requirements.txt
107173
174+ - name : Install deps linux
175+ run : |
176+ sudo apt update
177+ sudo apt install -y curl
178+ if : matrix.os == 'kuber'
179+
108180 - name : Download prebuilt
109181 run : |
110182 curl -Lo ./src/tonpy/libs/${{ matrix.file }} ${{ matrix.link }}${{ matrix.file }}
@@ -127,7 +199,7 @@ jobs:
127199 env :
128200 TAG_FIX : ${{ matrix.fix_tag }}
129201 - name : Store the binary wheel
130- uses : actions/upload-artifact@v2
202+ uses : actions/upload-artifact@v4
131203 with :
132204 name : python-package-distributions
133205 path : dist
@@ -144,7 +216,7 @@ jobs:
144216 fix_tag : x86_64
145217
146218 - arch : aarch64
147- os : macOS
219+ os : macos-15
148220 python : " 3.9"
149221 link : https://github.com/disintar/ton/releases/download/ton-cpython-39-aarch64-darwin/
150222 file : python_ton.cpython-39-darwin.so
@@ -153,7 +225,7 @@ jobs:
153225 runs-on : ${{ matrix.os }}
154226
155227 steps :
156- - uses : actions/checkout@v3
228+ - uses : actions/checkout@v4
157229 - name : Install python3.9
158230 run : |
159231 /opt/homebrew/bin/brew install python@3.9
@@ -184,7 +256,7 @@ jobs:
184256 env :
185257 TAG_FIX : ${{ matrix.fix_tag }}
186258 - name : Store the binary wheel
187- uses : actions/upload-artifact@v2
259+ uses : actions/upload-artifact@v4
188260 with :
189261 name : python-package-distributions
190262 path : dist
@@ -222,7 +294,7 @@ jobs:
222294 # - build
223295 #
224296 # steps:
225- # - uses: actions/checkout@v3
297+ # - uses: actions/checkout@v4
226298 #
227299 # - name: Save download prebuilt
228300 # run: |
@@ -238,22 +310,26 @@ jobs:
238310 # ls -lhta ./dist
239311 #
240312 # - name: Store the binary wheel
241- # uses: actions/upload-artifact@v2
313+ # uses: actions/upload-artifact@v4
242314 # with:
243315 # name: python-package-distributions
244316 # path: dist
245317
246318 deploy :
247319 name : Publish 🐍📦 to PyPI
248- runs-on : Linux
320+ runs-on : kuber
249321 needs :
250322 # - buildVirtualLinux
251323 - build
252324 - buildMacOs39
253325
254326 steps :
255- - uses : actions/checkout@v3
256-
327+ - uses : actions/checkout@v4
328+ - uses : actions/setup-python@v3
329+ with :
330+ python-version : " 3.11"
331+ env :
332+ USER : tvorogme
257333 - name : Download all the dists
258334 uses : actions/download-artifact@v2
259335 with :
0 commit comments