Skip to content

Commit

Permalink
CI: Fix Running out of Space
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Aug 4, 2024
1 parent 2517cc2 commit b6f18f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,19 @@ jobs:
GST_VERSION: 1.22.12

steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
android: 'false'
continue-on-error: true

- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: recursive
fetch-tags: true
fetch-depth: 0

# Temporary solution
- name: Remove unused dependencies
run: |
rm -rf libs/Frameworks
rm -rf libs/libevents
rm -rf libs/mavlink
rm -rf libs/sdl2
rm -rf libs/OpenSSL
- name: Install dependencies
run: |
wget --quiet https://github.com/ccache/ccache/releases/download/v4.9.1/ccache-4.9.1-linux-x86_64.tar.xz
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,17 @@ jobs:
shell: bash

steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
continue-on-error: true

- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: recursive
fetch-tags: true
fetch-depth: 0

# Temporary solution
- name: Remove unused dependencies
run: |
rm -rf libs/Frameworks
rm -rf libs/libevents
rm -rf libs/mavlink
rm -rf libs/OpenSSL
rm -rf libs/sdl2
- name: Install Dependencies
run: |
chmod a+x ./tools/setup/install-dependencies-debian.sh
Expand Down

0 comments on commit b6f18f1

Please sign in to comment.