Skip to content

Perf improvement: disable man-db before removing #40

Description

@lachesis

When run like this, we save more than a minute, from 5:21 runtime to 4:12.

    - name: Disable man-db to make package install and removal faster
      run: |
        echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null
        sudo dpkg-reconfigure man-db

    - name: Free Disk Space (Ubuntu) # Attempting to get around 16gb space limitations when building CUDA
      uses: jlumbroso/free-disk-space@main
      with:
        tool-cache: true
        android: true
        dotnet: true
        haskell: true
        large-packages: true
        swap-storage: true

I'm not sure why Github decided to keep the man-db enabled in CI by default. See this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions