This commit is contained in:
Kostas Kyrimis 2025-05-09 16:29:53 +00:00 committed by GitHub
commit b173ae4a4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 3 deletions

View file

@ -51,7 +51,7 @@ jobs:
path: |
${{ env.RELEASE_DIR }}/dragonfly-*tar.gz
${{ env.RELEASE_DIR }}/dragonfly_*.deb
${{ env.RELEASE_DIR }}/dfly_bench
${{ env.RELEASE_DIR }}/dfly_bench-*tar.gz
build-native:
runs-on: ubuntu-latest
@ -107,11 +107,11 @@ jobs:
if [ -f /etc/debian_version ]; then
mv ${{ env.RELEASE_DIR }}/dragonfly-*tar.gz results-artifacts
mv dragonfly_*.deb results-artifacts
mv ${{ env.RELEASE_DIR }}/dfly_bench-*tar.gz results-artifacts
else
ls -l *.rpm
mv ./*.rpm ./results-artifacts/
fi
mv ${{ env.RELEASE_DIR }}/dfly_bench results-artifacts
- name: Upload
uses: actions/upload-artifact@v4

View file

@ -45,7 +45,14 @@ package:
--compress-debug-sections \
dragonfly \
$(RELEASE_NAME); \
tar cvfz $(RELEASE_NAME).tar.gz $(RELEASE_NAME) ../LICENSE.md
tar cvfz $(RELEASE_NAME).tar.gz $(RELEASE_NAME) ../LICENSE.md; \
objcopy \
--remove-section=".debug_*" \
--remove-section="!.debug_line" \
--compress-debug-sections \
dfly_bench \
dfly_bench-$(BUILD_ARCH); \
tar cvfz dfly_bench-$(BUILD_ARCH).tar.gz dfly_bench-$(BUILD_ARCH)
release: configure build