[CI] Check binary size

This commit is contained in:
Margen67
2025-06-02 00:41:30 -07:00
parent b864149575
commit 15008ccecc
2 changed files with 8 additions and 0 deletions

View File

@@ -87,6 +87,9 @@ jobs:
- name: Prepare artifacts
id: prepare_artifacts
run: |
if [ $(stat -c %s build/bin/Linux/Release/xenia_canary) -le 100000 ]; then
echo "::error::Binary is too small."
fi
mkdir -p artifacts
cp -r build/bin/Linux/Release/xenia_canary LICENSE artifacts
- name: Upload xenia canary artifacts