GHA/distcheck: bump old cmake, switch to arm64 for performance
No binary (build failed)
—
(log yok)
| @@ -258,11 +258,11 @@ jobs: | |
| MAKEFLAGS: ${{ contains(matrix.image, 'macos') && '-j 4' || '-j 5' }} | |
| MATRIX_IMAGE: '${{ matrix.image }}' | |
| TESTOPTS: ${{ contains(matrix.image, 'macos') && '-D_CURL_PREFILL=ON' || '' }} ${{ contains(matrix.image, 'windows') && '-DCMAKE_UNITY_BUILD_BATCH_SIZE=30' || '' }} | |
| - | OLD_CMAKE_VERSION: 3.11.4 |
| + | OLD_CMAKE_VERSION: 3.19.8 |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| - | image: [ubuntu-latest, macos-latest, windows-2022] |
| + | image: [ubuntu-24.04-arm, macos-latest, windows-2022] |
| steps: | |
| - uses: msys2/setup-msys2@4f806de0a5a7294ffabaff804b38a9b435a73bda # v2.30.0 | |
| if: ${{ contains(matrix.image, 'windows') }} | |
| @@ -289,14 +289,14 @@ jobs: | |
| sudo apt-get -o Dpkg::Use-Pty=0 install libpsl-dev libssl-dev | |
| cd ~ | |
| curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 60 --retry 3 --retry-connrefused \ | |
| - | --location "https://github.com/Kitware/CMake/releases/download/v${OLD_CMAKE_VERSION}/cmake-${OLD_CMAKE_VERSION}-Linux-x86_64.tar.gz" | tar -xz |
| - | printf '%s' ~/cmake-"${OLD_CMAKE_VERSION}"-Linux-x86_64/bin/cmake > ~/old-cmake-path.txt |
| + | --location "https://github.com/Kitware/CMake/releases/download/v${OLD_CMAKE_VERSION}/cmake-${OLD_CMAKE_VERSION}-Linux-aarch64.tar.gz" | tar -xz |
| + | printf '%s' ~/cmake-"${OLD_CMAKE_VERSION}"-Linux-aarch64/bin/cmake > ~/old-cmake-path.txt |
| else | |
| brew install libpsl openssl | |
| cd ~ | |
| curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 60 --retry 3 --retry-connrefused \ | |
| - | --location "https://github.com/Kitware/CMake/releases/download/v${OLD_CMAKE_VERSION}/cmake-${OLD_CMAKE_VERSION}-Darwin-x86_64.tar.gz" | tar -xz |
| - | printf '%s' ~/cmake-"${OLD_CMAKE_VERSION}"-Darwin-x86_64/CMake.app/Contents/bin/cmake > ~/old-cmake-path.txt |
| + | --location "https://github.com/Kitware/CMake/releases/download/v${OLD_CMAKE_VERSION}/cmake-${OLD_CMAKE_VERSION}-macos-universal.tar.gz" | tar -xz |
| + | printf '%s' ~/cmake-"${OLD_CMAKE_VERSION}"-macos-universal/CMake.app/Contents/bin/cmake > ~/old-cmake-path.txt |
| fi | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |