Skip to content

Commit 8065dba

Browse files
committed
Preinstall devtoolset-11
1 parent 3d29d25 commit 8065dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
CIBW_ENVIRONMENT_PASS_LINUX: CIBW_ARCHS
161161
CIBW_ENVIRONMENT_WINDOWS: CTRANSLATE2_ROOT='${{ github.workspace }}\install'
162162
CIBW_ENVIRONMENT_MACOS: "CTRANSLATE2_ROOT='/usr/local' MACOSX_DEPLOYMENT_TARGET=10.13"
163-
CIBW_BEFORE_ALL_LINUX: python/tools/prepare_build_environment_linux.sh
163+
CIBW_BEFORE_ALL_LINUX: yum install -y devtoolset-11 && scl enable devtoolset-11 bash && python/tools/prepare_build_environment_linux.sh
164164
CIBW_BEFORE_ALL_MACOS: python/tools/prepare_build_environment_macos.sh
165165
CIBW_BEFORE_ALL_WINDOWS: bash python/tools/prepare_build_environment_windows.sh
166166
CIBW_BEFORE_BUILD: pip install -r python/install_requirements.txt

0 commit comments

Comments
 (0)