Skip to content

Commit

Permalink
Delete some GitHub stuff to save disk space on Android GitHub build
Browse files Browse the repository at this point in the history
Summary: More context in [ENG-4349](https://linear.app/comm/issue/ENG-4349/github-ci-for-android-appears-to-have-a-disk-space-issue). I got this from [here](actions/runner-images#2840 (comment)) and [here](actions/runner-images#2840 (comment)).

Test Plan: Worked [here](https://github.com/CommE2E/comm/actions/runs/5605446073) and [here](https://github.com/CommE2E/comm/actions/runs/5605446629)

Reviewers: atul, jon, bartek, kamil

Reviewed By: bartek

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D8579
  • Loading branch information
Ashoat committed Jul 26, 2023
1 parent 3bd4e3a commit 60cfe52
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
- name: rustup target add aarch64-linux-android arm-linux-androideabi i686-linux-android x86_64-linux-android
run: rustup target add aarch64-linux-android arm-linux-androideabi i686-linux-android x86_64-linux-android

- name: Delete some stuff to free up disk space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
- name: Install Protobuf compiler
working-directory: ./scripts
run: sudo ./install_protobuf.sh
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/android_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
- name: rustup target add aarch64-linux-android arm-linux-androideabi i686-linux-android x86_64-linux-android
run: rustup target add aarch64-linux-android arm-linux-androideabi i686-linux-android x86_64-linux-android

- name: Delete some stuff to free up disk space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
- name: Install Protobuf compiler
working-directory: ./scripts
run: sudo ./install_protobuf.sh
Expand Down

0 comments on commit 60cfe52

Please sign in to comment.