Commit 50397c0
committed
fix(release): build Linux binaries on native runners, drop manylinux
manylinux_2_28 ships CPython built without --enable-shared (no
libpython3.11.so), which PyInstaller needs to embed into its bootloader
-- so the build aborted with "Python was built without a shared
library". manylinux is designed for producing wheels, not frozen apps.
Switch the linux-amd64 / linux-arm64 targets to ubuntu-22.04 /
ubuntu-22.04-arm runners and rely on actions/setup-python, which
provides a shared-libpython CPython. The glibc 2.35 floor still covers
Ubuntu 22.04+, Debian 12+, RHEL 9+, and all current modern distros.
This also makes the previous safe.directory workaround moot (no more
root-owned container vs runner-UID workspace), so the
container-specific steps are removed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Sodawyx <sodawyx@126.com>1 parent c9f03fa commit 50397c0
1 file changed
Lines changed: 7 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
79 | 82 | | |
80 | | - | |
81 | | - | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | | - | |
86 | | - | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
102 | 100 | | |
103 | 101 | | |
104 | 102 | | |
| |||
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 109 | + | |
130 | 110 | | |
131 | 111 | | |
132 | 112 | | |
| |||
0 commit comments