[CI] 让Python在linux镜像中提前安装
This commit is contained in:
@@ -11,6 +11,7 @@ RUN apt-get update && \
|
||||
clang-19 lld-19 libc++-19-dev libc++abi-19-dev \
|
||||
mingw-w64 g++-mingw-w64 \
|
||||
git tar curl \
|
||||
python3 python3-pip \
|
||||
&& rm -rf /var/lib/apt/lists/* && \
|
||||
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-19 100 && \
|
||||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 100 && \
|
||||
|
||||
@@ -51,10 +51,6 @@ jobs:
|
||||
run: |
|
||||
echo "开始构建Linux安装器..."
|
||||
|
||||
echo "安装Python3和pip..."
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y python3 python3-pip
|
||||
|
||||
cd Installer/ConsoleInstaller
|
||||
# 确保pip已安装
|
||||
if ! command -v pip3 &> /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user