ci(build-and-test-differential): increase free disk space #32082
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-and-test-differential | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
env: | |
CC: /usr/lib/ccache/gcc | |
CXX: /usr/lib/ccache/g++ | |
jobs: | |
build-and-test-differential: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
rosdistro: | |
- humble | |
container-suffix: | |
- -cuda | |
include: | |
- rosdistro: humble | |
container: ghcr.io/autowarefoundation/autoware:latest-prebuilt | |
build-depends-repos: build_depends.repos | |
steps: | |
- name: Set PR fetch depth | |
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}" | |
- name: Checkout PR branch and all PR commits | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: ${{ env.PR_FETCH_DEPTH }} | |
- name: Show disk space before the tasks | |
run: df -h | |
- name: Show current dir | |
run: ls -alF | |
- name: Docker | |
run: | | |
docker pull ${{ matrix.container }}${{ matrix.container-suffix }} | |
docker run -it ${{ matrix.container }}${{ matrix.container-suffix }} /bin/bash |