File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,22 +34,24 @@ jobs:
3434 apt-get install -y tzdata
3535 ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
3636 dpkg-reconfigure -f noninteractive tzdata
37-
37+
3838 apt-get install -y git ca-certificates curl build-essential wget \
3939 libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev \
4040 libffi-dev libncursesw5-dev xz-utils tk-dev liblzma-dev uuid-dev
41-
41+
42+ git config --global --add safe.directory /__w/geatpy/geatpy
43+
4244 wget -q https://www.python.org/ftp/python/3.6.15/Python-3.6.15.tgz
4345 tar -xzf Python-3.6.15.tgz
4446 cd Python-3.6.15
4547 ./configure --prefix=/opt/python36 --enable-shared --with-ensurepip=install
4648 make -j$(nproc)
4749 make install
4850 cd ..
49-
51+
5052 echo "/opt/python36/lib" > /etc/ld.so.conf.d/python36.conf
5153 ldconfig
52-
54+
5355 ln -sf /opt/python36/bin/python3.6 /usr/local/bin/python3.6
5456 python3.6 -m pip install --upgrade pip
5557
You can’t perform that action at this time.
0 commit comments