Skip to content

Commit

Permalink
add tmate and logging disk sapce
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
  • Loading branch information
xiaoxichen committed Sep 4, 2024
1 parent 4d999d4 commit 283a0c9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ jobs:
- name: Build Cache
run: |
pre=$([[ "${{ inputs.build-type }}" != "Debug" ]] && echo "-o sisl:prerelease=${{ inputs.prerelease }}" || echo "")
echo "Disk space usage"
sudo df -h
sudo ls -l /tmp
sudo rm -rf $ANDROID_HOME
echo "Disk space usage after cleanup"
sudo df -h
conan install \
-c tools.build:skip_test=True \
${pre} \
Expand Down Expand Up @@ -228,6 +234,13 @@ jobs:
fail_on_cache_miss: true
if: ${{ inputs.testing == 'True' && github.event_name != 'pull_request' && steps.restore-cache.outputs.cache-hit != 'true' }}

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
detached: true
if: ${{ inputs.testing == 'True' }}

- name: Create and Test Package
run: |
sanitize=$([[ "${{ inputs.tooling }}" == "Sanitize" ]] && echo "True" || echo "False")
Expand Down

0 comments on commit 283a0c9

Please sign in to comment.