Skip to content

Commit

Permalink
Remove non-essential files for build (#8116)
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink authored Aug 29, 2024
2 parents ba28f2c + aa5f4d2 commit 74e6ad3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,33 @@ jobs:
with:
submodules: 'true'
fetch-tags: 'true'
- name: Remove test files
shell: bash
run: |
rm -rf doc
rm -rf scripts
rm src/run_unit_tests.py
rm -rf src/tribler/test_integration
rm -rf src/tribler/test_unit
rm -rf pyipv8/.github
rm pyipv8/.gitignore
rm pyipv8/.gitmodules
rm pyipv8/.readthedocs.yaml
rm pyipv8/.ruff.toml
rm pyipv8/*.md
rm pyipv8/*.ini
rm pyipv8/create_setup_taskmanager.py
rm pyipv8/create_test_coverage_report.py
rm pyipv8/github_increment_version.py
rm pyipv8/run_all_tests.py
rm pyipv8/setup.py
rm -rf pyipv8/doc
rm -rf pyipv8/scripts
rm -rf pyipv8/stresstest
rm -rf pyipv8/systemd
rm -rf pyipv8/ipv8/test
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand All @@ -57,6 +84,7 @@ jobs:
cd src/tribler/ui/
npm install
npm run build
rm -rf node_modules
- name: Determine tag
shell: bash
run: |
Expand Down
3 changes: 0 additions & 3 deletions build/mac/makedist_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ set -e # exit when any command fails

source ./build/mac/env.sh

# ----- Clean UI
rm -rf src/tribler/ui/node_modules

# ----- Build
pyinstaller tribler.spec --log-level="${LOG_LEVEL}"

Expand Down

0 comments on commit 74e6ad3

Please sign in to comment.