Skip to content

ci(build-and-test-differential): increase free disk space #32085

ci(build-and-test-differential): increase free disk space

ci(build-and-test-differential): increase free disk space #32085

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: Show env vars
run: printenv
- name: Show env vars
run: tree ../
# - name: Docker
# run: |
# docker pull ${{ matrix.container }}${{ matrix.container-suffix }}
# docker run -it ${{ matrix.container }}${{ matrix.container-suffix }} /bin/bash