feat(ci): strip debug symbols from soul binary before publishing
Neuron Soul CI / build (pull_request) Has been cancelled
Neuron Soul CI / build (pull_request) Has been cancelled
Add strip -s after gcc compilation to remove symbol table and relocation info. Reduces binary size and prevents symbol-level reverse engineering of EL runtime internals.
This commit is contained in:
@@ -134,6 +134,10 @@ jobs:
|
|||||||
-lssl -lcrypto -lcurl -lpthread -lm \
|
-lssl -lcrypto -lcurl -lpthread -lm \
|
||||||
-o dist/neuron
|
-o dist/neuron
|
||||||
|
|
||||||
|
# Strip debug symbols and non-essential symbol table entries.
|
||||||
|
# -s removes the symbol table + relocation info (max size reduction).
|
||||||
|
# Keeps the binary functional; debuggability is preserved via source + CI logs.
|
||||||
|
strip -s dist/neuron
|
||||||
ls -lh dist/neuron
|
ls -lh dist/neuron
|
||||||
|
|
||||||
- name: Smoke test
|
- name: Smoke test
|
||||||
|
|||||||
Reference in New Issue
Block a user