Commit 939758e
fix(ci): gate steamworks native libs by RUNNER_OS in Nuitka build (#1303)
#1285 added `if -f` guards but only on file presence. All platforms' libs
are checked into steamworks/, so on macOS the Linux ELF .so also passes
the check and gets fed to Nuitka, which aborts during link:
FATAL: Error, cannot use file '.../steamworks/SteamworksPy.so'
(ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), ...)
to build arch 'arm64' result
Wrap the .dylib block in `$RUNNER_OS == macOS` and the .so block in
Linux. Windows is unaffected (its cmd branch only runs on Windows).
Failing run: https://github.com/Project-N-E-K-O/N.E.K.O/actions/runs/25647861208
Co-authored-by: Hongzhi Wen <cartabio.coder1@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 47b2b1b commit 939758e
1 file changed
Lines changed: 16 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
| 366 | + | |
365 | 367 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
377 | 382 | | |
378 | 383 | | |
379 | 384 | | |
| |||
0 commit comments