mirror of
https://github.com/boostorg/static_string.git
synced 2025-07-30 04:27:33 +02:00
Attempt to fix GHA.
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -219,7 +219,7 @@ jobs:
|
|||||||
then
|
then
|
||||||
apt-get -o Acquire::Retries=$NET_RETRY_COUNT update
|
apt-get -o Acquire::Retries=$NET_RETRY_COUNT update
|
||||||
apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y sudo software-properties-common tzdata wget curl apt-transport-https make apt-file unzip libssl-dev build-essential autotools-dev autoconf automake g++ libc++-helpers python ruby cpio gcc-multilib g++-multilib pkgconf python3 ccache libpython-dev
|
apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y sudo software-properties-common tzdata wget curl apt-transport-https make apt-file unzip libssl-dev build-essential autotools-dev autoconf automake g++ libc++-helpers python ruby cpio gcc-multilib g++-multilib pkgconf python3 ccache libpython-dev
|
||||||
|
|
||||||
# install pip:
|
# install pip:
|
||||||
python_version=$(python3 -c 'import sys; print("{0.major}.{0.minor}".format(sys.version_info))')
|
python_version=$(python3 -c 'import sys; print("{0.major}.{0.minor}".format(sys.version_info))')
|
||||||
if [[ ${python_version} =~ ^3\.[0-5]$ ]]; then
|
if [[ ${python_version} =~ ^3\.[0-5]$ ]]; then
|
||||||
@ -229,12 +229,12 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
wget https://bootstrap.pypa.io/pip/$python_version/get-pip.py
|
wget https://bootstrap.pypa.io/pip/$python_version/get-pip.py
|
||||||
python3 get-pip.py
|
python3 get-pip.py
|
||||||
|
|
||||||
# install git:
|
# install git:
|
||||||
# apt-get install -y git
|
# apt-get install -y git
|
||||||
apt-add-repository ppa:git-core/ppa
|
apt-add-repository ppa:git-core/ppa
|
||||||
apt-get -o Acquire::Retries=$NET_RETRY_COUNT update && apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y git
|
apt-get -o Acquire::Retries=$NET_RETRY_COUNT update && apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y git
|
||||||
|
|
||||||
# install cmake:
|
# install cmake:
|
||||||
# apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y cmake
|
# apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y cmake
|
||||||
sudo pip3 install cmake
|
sudo pip3 install cmake
|
||||||
@ -332,15 +332,9 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
git clone -b "$BOOST_BRANCH" --depth 1 "https://github.com/boostorg/boost.git" "boost-root"
|
git clone -b "$BOOST_BRANCH" --depth 1 "https://github.com/boostorg/boost.git" "boost-root"
|
||||||
|
|
||||||
cd boost-root
|
cd boost-root
|
||||||
# mkdir -p libs/$LIBRARY
|
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
|
||||||
# cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
|
git submodule update --init tools/boostdep
|
||||||
# git submodule update --init tools/boostdep
|
|
||||||
git submodule update --init --recursive
|
|
||||||
mkdir -p libs/$SELF
|
|
||||||
cp -r $GITHUB_WORKSPACE/* libs/$SELF
|
|
||||||
|
|
||||||
DEPINST_ARGS+=("$LIBRARY")
|
DEPINST_ARGS+=("$LIBRARY")
|
||||||
python tools/boostdep/depinst/depinst.py "${DEPINST_ARGS[@]}"
|
python tools/boostdep/depinst/depinst.py "${DEPINST_ARGS[@]}"
|
||||||
if [ -z "${{matrix.cmake_tests}}" ]
|
if [ -z "${{matrix.cmake_tests}}" ]
|
||||||
|
Reference in New Issue
Block a user