From 52fb59f02b123d7498a63bd4179a0995f150193f Mon Sep 17 00:00:00 2001 From: B1ueber2y Date: Thu, 1 Aug 2024 02:12:14 +0200 Subject: [PATCH] update. --- .github/workflows/build.yml | 5 ++++- ci/install-ceres-centos.sh | 16 +++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 393ee37..ecd3ea4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,7 +86,7 @@ jobs: $VCPKG_CACHE_DIR = "${env:COMPILER_CACHE_DIR}/vcpkg" $VCPKG_BINARY_SOURCES = "clear;files,${VCPKG_CACHE_DIR},readwrite" echo "VCPKG_BINARY_SOURCES=${VCPKG_BINARY_SOURCES}" >> "${env:GITHUB_ENV}" - - name: Set env (Ubuntu) + - name: Set env (Linux) if: runner.os == 'Linux' run: | VCPKG_TARGET_TRIPLET="x64-linux-release" @@ -115,6 +115,9 @@ jobs: CIBW_ENVIRONMENT_PASS_LINUX="VCPKG_TARGET_TRIPLET VCPKG_INSTALLATION_ROOT CMAKE_TOOLCHAIN_FILE VCPKG_BINARY_SOURCES CONTAINER_COMPILER_CACHE_DIR" echo "CIBW_ENVIRONMENT_PASS_LINUX=${CIBW_ENVIRONMENT_PASS_LINUX}" >> "$GITHUB_ENV" + + CIBW_MANYLINUX_X86_64_IMAGE="quay.io/pypa/manylinux_2_28_x86_64" + echo "CIBW_MANYLINUX_X86_64_IMAGE=${CIBW_MANYLINUX_X86_64_IMAGE}" >> "$GITHUB_ENV" - name: Build wheels uses: pypa/cibuildwheel@v2.19.2 env: diff --git a/ci/install-ceres-centos.sh b/ci/install-ceres-centos.sh index d6f5b97..a1ac040 100755 --- a/ci/install-ceres-centos.sh +++ b/ci/install-ceres-centos.sh @@ -3,7 +3,21 @@ set -e -x uname -a CURRDIR=$(pwd) -yum install -y gcc gcc-c++ ninja-build curl zip unzip tar +export PATH="/usr/bin" + +# Install toolchain under AlmaLinux 8, +# see https://almalinux.pkgs.org/8/almalinux-appstream-x86_64/ +yum install -y \ + gcc \ + gcc-c++ \ + gcc-gfortran \ + git \ + cmake3 \ + ninja-build \ + curl \ + zip \ + unzip \ + tar DEPENDENCIES=$(cat ${CURRDIR}/ci/vcpkg-dependencies.txt) git clone https://github.com/microsoft/vcpkg ${VCPKG_INSTALLATION_ROOT}