gh-145349: Do not install `ccache` (#145350) · python/cpython@ef41f73

GitHub

@@ -111,8 +111,6 @@ jobs:

111111run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"

112112 - name: Install dependencies

113113run: sudo ./.github/workflows/posix-deps-apt.sh

114- - name: Add ccache to PATH

115-run: echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"

116114 - name: Configure CPython

117115run: |

118116 # Build Python with the libpython dynamic library

@@ -299,9 +297,6 @@ jobs:

299297 - name: Install OpenSSL

300298if: steps.cache-openssl.outputs.cache-hit != 'true'

301299run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux

302- - name: Add ccache to PATH

303-run: |

304- echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"

305300 - name: Configure CPython

306301run: ./configure CFLAGS="-fdiagnostics-format=json" --config-cache --enable-slower-safety --with-pydebug --with-openssl="$OPENSSL_DIR"

307302 - name: Build CPython

@@ -356,9 +351,6 @@ jobs:

356351 --base-directory "$MULTISSL_DIR" \

357352 --awslc ${{ matrix.awslc_ver }} \

358353 --system Linux

359- - name: Add ccache to PATH

360-run: |

361- echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"

362354 - name: Configure CPython

363355run: |

364356 ./configure CFLAGS="-fdiagnostics-format=json" \

@@ -459,9 +451,6 @@ jobs:

459451 - name: Install OpenSSL

460452if: steps.cache-openssl.outputs.cache-hit != 'true'

461453run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux

462- - name: Add ccache to PATH

463-run: |

464- echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"

465454 - name: Setup directory envs for out-of-tree builds

466455run: |

467456 echo "CPYTHON_RO_SRCDIR=$(realpath -m "${GITHUB_WORKSPACE}"/../cpython-ro-srcdir)" >> "$GITHUB_ENV"

@@ -577,9 +566,6 @@ jobs:

577566 - name: Install OpenSSL

578567if: steps.cache-openssl.outputs.cache-hit != 'true'

579568run: python3 Tools/ssl/multissltests.py --steps=library --base-directory "$MULTISSL_DIR" --openssl "$OPENSSL_VER" --system Linux

580- - name: Add ccache to PATH

581-run: |

582- echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"

583569 - name: Configure CPython

584570run: ./configure --config-cache --with-address-sanitizer --without-pymalloc --with-openssl="$OPENSSL_DIR"

585571 - name: Build CPython