Add ppc64le test.

This commit is contained in:
jzmaddock
2021-02-07 10:54:20 +00:00
parent 1c45d765f1
commit bd4afd9094

View File

@ -206,3 +206,37 @@ jobs:
- name: Test
run: ..\..\..\b2 --hash address-model=64 cxxstd=14,17,20 toolset=msvc-14.2
working-directory: ../boost-root/libs/config/test
ppc64le_ubuntu_20_04:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2.1.0
- uses: uraimo/run-on-arch-action@v2.0.5
name: Run commands
id: runcmd
with:
arch: ppc64le
distro: ubuntu20.04
# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
#githubToken: ${{ github.token }}
# Set an output parameter `uname` for use in subsequent steps
run: |
uname -a
apt update
apt -y install gcc g++ git python
echo $PWD
math=$PWD
cd ..
git clone -b develop --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
rm -rf libs/math/*
cp -r $math/* libs/math
git submodule update --init tools/build tools/boost_install libs/headers libs/detail libs/core libs/assert libs/type_traits
./bootstrap.sh
./b2 headers
./b2 libs/config/test//print_config_info libs/config/test//print_math_info
./b2 libs/math/test