Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
2fb0373
Select assembly sources via preprocessor
Kojoley Mar 22, 2023
65b179d
Revert "Select assembly sources via preprocessor"
olk Jul 22, 2023
51ba6ff
Merge branch 'develop'
olk Oct 1, 2023
e9c3e56
Merge pull request #245 from boostorg/develop
olk Nov 8, 2023
22be4b1
Add the BOOST_CONTEXT_USE_MAP_STACK logic to test_fcontext.cpp
cjeker Feb 13, 2024
17945a2
Implement the fcontext asm for sparc64
cjeker Feb 13, 2024
99be0a6
support gcc for ARM64 on mac OS X
olk Mar 10, 2024
d9bea79
Merge pull request #251 from cjeker/sparc64_asm_support
olk Mar 10, 2024
d811245
update documentation
olk Mar 10, 2024
f5d062c
Merge pull request #250 from cjeker/fix_test_fcontext_for_map_stack
olk Mar 10, 2024
1bde50e
Merge branch 'develop'
olk Mar 10, 2024
9170c51
Make the library modular usable.
grafikrobot Mar 11, 2024
d81d611
support gcc for ARM64 on mac OS X
olk Mar 10, 2024
d2109fd
Implement the fcontext asm for sparc64
cjeker Feb 13, 2024
625bcb9
update documentation
olk Mar 10, 2024
79bfdc5
Add the BOOST_CONTEXT_USE_MAP_STACK logic to test_fcontext.cpp
cjeker Feb 13, 2024
d6c7006
Merge branch 'boostorg:develop' into modular
grafikrobot Mar 11, 2024
2c1409c
Switch to library requirements instead of source. As source puts extr…
grafikrobot Mar 30, 2024
dc5b59f
Remove accidentally duplicated shadow stack handling
arnaud-lb Apr 23, 2024
877d450
Remove accidentally added conflict file.
grafikrobot Apr 27, 2024
f50383a
CI: Switch to official Debian containers
Kojoley Mar 24, 2024
fbbdda0
CI: ubuntu-18.04 GHA image no longer available
Kojoley Mar 24, 2024
3850a4d
Add missing NO_LIB usage requirements.
grafikrobot Apr 29, 2024
38e38ca
Fix x32 build on x86-64
abatyiev Apr 29, 2024
ebca1ad
Add missing import-search for cconfig/predef checks.
grafikrobot May 5, 2024
b0af135
Add requires-b2 check to top-level build file.
grafikrobot May 5, 2024
649dd50
Bump B2 require to 5.2
grafikrobot Jun 14, 2024
e878e8e
Convert ARM64 armasm to armclang for Windows clang
Liryna Jun 19, 2024
9084161
Default ABI for arm needs to check ARM64 platform for Darwin, at least.
grafikrobot Jul 19, 2024
285b05d
Update copyright dates.
grafikrobot Jul 21, 2024
9534376
Move inter-lib dependencies to a project variable and into the build …
grafikrobot Jul 24, 2024
3f7b900
Move custom features to its own file we can import from other projects.
grafikrobot Jul 26, 2024
c79fa61
Move custom features to its own file we can import from other projects.
grafikrobot Jul 26, 2024
13e9cde
Merge pull request #257 from Kojoley/ci/switch-to-official-containers…
olk Aug 28, 2024
463cffe
Merge pull request #264 from grafikrobot/modular
olk Aug 28, 2024
f7c27e2
Merge pull request #262 from Liryna/develop
olk Aug 28, 2024
ac31d0c
Merge pull request #260 from abatyiev/develop
olk Aug 28, 2024
b39e229
Merge pull request #259 from arnaud-lb/fix-dup
olk Aug 28, 2024
5d852fc
Merge pull request #265 from boostorg/master
olk Aug 28, 2024
a62f6a9
Trim redundant trailing whitespace
petk Sep 6, 2024
874f46f
addressing fix for Clickhouse crash issue on power pc build for all C…
Sep 9, 2024
a64a2c1
providing changes for only handling VS63 register
Sep 11, 2024
8aa72de
fix for for: visual studio missing buildtool peroperty for asm files
Sep 12, 2024
73c90bb
Fix __NR_map_shadow_stack redefinition.
Lastique Sep 12, 2024
658379b
Replace tabs with spaces, trim trailing spaces.
Lastique Sep 12, 2024
7f51f7d
Mark fcontext asm functions as hidden visibility
Oct 4, 2024
5298509
Update CMakeLists.txt
olk Oct 8, 2024
104e71f
Merge pull request #272 from boostorg/olk-patch-1
olk Oct 8, 2024
88472bc
Merge pull request #271 from rdoeffinger/develop
olk Oct 8, 2024
59410df
Revert "Mark fcontext asm functions as hidden visibility"
olk Oct 8, 2024
2459047
Convert make_fcontext etc into true C++ symbols
Oct 4, 2024
7c80551
Merge pull request #273 from rdoeffinger/develop
olk Oct 27, 2024
77835b7
Jamfile
tjcw Oct 31, 2024
46effe4
Merge pull request #274 from tjcw/develop
olk Nov 5, 2024
9068c08
Fix assembler extensions in Jamfile
vejbomar Nov 8, 2024
566fdee
Define assembler files for ARM64+PE+GCC
vejbomar Nov 8, 2024
2767c8e
Clean up comment headings
vejbomar Nov 8, 2024
f82483d
Support building assembly files for mingw-w64 on arm64 with CMake.
MehdiChinoune Dec 15, 2024
c46576a
Fix mistakes in documentation on Arm64 on Windows
larskanis Dec 16, 2024
b7ff6fc
Merge pull request #266 from petk/patch-trailing-whitespace
olk Dec 26, 2024
ed4f880
Merge pull request #267 from harishisnow/fix_clickhouse_crash_on_powe…
olk Dec 26, 2024
3a2a2fb
Merge pull request #268 from Dargun/fix_asm_files_language
olk Dec 26, 2024
1bec595
Merge pull request #270 from Lastique/feature/fix_shadowstack_syscall
olk Dec 26, 2024
b58fd91
Merge pull request #275 from Windows-on-ARM-Experiments/mingw-arm-asm
olk Dec 26, 2024
fa35c15
Merge pull request #276 from MehdiChinoune/patch-1
olk Dec 26, 2024
e4c9157
Merge pull request #277 from larskanis/fix-arm64-docs
olk Dec 26, 2024
12ac945
move context-impl feature into a module
grisumbras Jan 7, 2025
d11cbcc
Merge pull request #280 from grisumbras/fix/feature-context-impl
pdimov Jan 7, 2025
160bfe0
Update ci.yml
pdimov Jan 7, 2025
53b1755
On libstdc++ fiber_fcontext.hpp sets fiber-specific exception state.
nat-goodspeed Jan 13, 2025
bf043e3
Merge pull request #281 from nat-goodspeed/nat/fsx-libstdc++
olk Jan 14, 2025
63996e4
Fix ABI detection for empty 'os.platform'
iv-m Jan 23, 2025
1cfab77
Merge pull request #283 from iv-m/fix-loonarch64-build
olk Jan 24, 2025
cef5372
Suppressed unused variable warning in fiber_fcontext.hpp
anarthal Jan 24, 2025
8bf61ae
Merge pull request #285 from anarthal/feature/remove-unused-warning
olk Jan 24, 2025
f6726cc
Suppress build: `masm` logo and `clang` warning argument unused durin…
Challanger524 Jan 29, 2025
618d7e0
Suppressed unused variable warning in fiber_fcontext.hpp
ashtum Feb 11, 2025
7f5f436
fix tls staack protector on x86_64
CBBBrother Feb 17, 2025
1fd62ab
Merge pull request #288 from Challanger524/suppress-odd-build-output
olk Feb 21, 2025
0d95765
Merge pull request #290 from ashtum/suppress-unused-variable-warning
olk Feb 21, 2025
afd2ce3
Merge pull request #291 from CBBBrother/fix_x86_64_tls_stack_protector
olk Feb 21, 2025
628cefe
Fix `clang-cl` `MSVC` frontend received `GNU` flag on assembling
Challanger524 Feb 22, 2025
ef39a89
Merge pull request #294 from Challanger524/fix_clang-cl_masm_combo
olk Apr 17, 2025
35ddf21
Support gcc when building ASM on Darwin
elfprince13 Apr 17, 2025
64630f7
Merge pull request #299 from elfprince13/patch-1
olk Apr 18, 2025
1775ceb
Fix several typos
striezel May 1, 2025
916eaca
Remove Ubuntu 20.04 build from CI
striezel May 1, 2025
e3ab83e
Merge pull request #301 from striezel-stash/ci-ubuntu-20.04-deprecation
olk May 2, 2025
3847230
Merge pull request #300 from striezel-stash/fix-typos
olk May 2, 2025
c79564d
restore exception state after destruction of fiber
NaN-git May 10, 2025
d65aff9
Test address model 32 for clang-cl.
grafikrobot May 16, 2025
3378976
Add safeseh to clang-win building.
grafikrobot May 16, 2025
12280a8
fix build of ontop_sparc64_sysv_elf_gas.S
tkoecker May 16, 2025
6ea12b1
Merge pull request #304 from grafikrobot/patch-1
olk May 25, 2025
d6c1beb
Merge pull request #305 from tkoecker/patch-1
olk May 25, 2025
3af0091
Merge pull request #303 from NaN-git/fix-#302
olk May 25, 2025
8b19d4f
CMake: Set correct assembler for MSVC ARM targets
Greenie0701 Jul 10, 2025
480f09e
[CMAKE] CYGWIN: set correct binfmt and abi
carlo-bramini Jul 30, 2025
39a9bcf
Merge pull request #309 from carlo-bramini/fix-cygwin-build-1
olk Jul 31, 2025
f5deda1
Merge pull request #307 from lowkeyrossi/WoA_fix
olk Jul 31, 2025
1be6822
[AArch64][BTI] Add BTI hint + GNU property to fcontext trampolines (E…
FusionPow Aug 15, 2025
e9a7b96
Merge pull request #312 from zaydr-al/bti-aarch64-fix
olk Aug 26, 2025
7115391
[cmake] don't apply assembler options to armasm
crueter Sep 8, 2025
85c9531
Add Windows jobs to ci.yml
pdimov Sep 9, 2025
8fed94c
Merge pull request #316 from boostorg/feature/gha-windows
olk Sep 23, 2025
28722d1
Add Windows ARM64 support
vask2108 Aug 28, 2025
68ea30d
Add Windows ARM64 support
vask2108 Aug 28, 2025
230d5fe
Merge pull request #315 from vask2108/feature/windows-arm64-libs-cont…
olk Sep 24, 2025
18aae90
Merge pull request #314 from crueter/fix/armasm
olk Sep 24, 2025
557b8f6
Fix detection of PowerPC architectures
erikbs Oct 29, 2025
3335e85
Add additional checks to detect more PowerPC architecture name variants
erikbs Oct 29, 2025
6ff80e0
Merge pull request #319 from erikbs/feature/improve-configuration-for…
olk Oct 29, 2025
f6445d5
Renamed forced_unwind struct to fiber_forced_unwind in fiber_ucontext…
mrmitzh Nov 20, 2025
2179688
Add information to .eh_frame ELF secion about make_fcontext function.
vchigrin Dec 10, 2025
3be17f5
Don't default to ucontext on cygwin.
corngood Dec 17, 2025
e4bce3e
Merge pull request #320 from mrmitzh/develop
olk Dec 27, 2025
a53b9da
Merge pull request #322 from corngood/cygwin
olk Dec 27, 2025
639fa73
Merge pull request #321 from vchigrin/develop
olk Dec 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
333 changes: 57 additions & 276 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,294 +16,75 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
- name: "TOOLSET=gcc COMPILER=g++ CXXSTD=11 Job 0"
buildtype: "boost"
packages: ""
packages_to_remove: ""
os: "ubuntu-20.04"
container: "ubuntu:16.04"
cxx: "g++"
sources: ""
llvm_os: ""
llvm_ver: ""
toolset: "gcc"
compiler: "g++"
cxxstd: "11"
- name: "TOOLSET=gcc COMPILER=g++-5 CXXSTD=11,14,1z Job 1"
buildtype: "boost"
packages: "g++-5"
packages_to_remove: ""
os: "ubuntu-20.04"
container: "ubuntu:16.04"
cxx: "g++-5"
sources: ""
llvm_os: ""
llvm_ver: ""
toolset: "gcc"
compiler: "g++-5"
cxxstd: "11,14,1z"
- name: "TOOLSET=gcc COMPILER=g++-6 CXXSTD=11,14,1z Job 2"
buildtype: "boost"
packages: "g++-6"
packages_to_remove: ""
os: "ubuntu-20.04"
container: "ubuntu:16.04"
cxx: "g++-6"
sources: ""
llvm_os: ""
llvm_ver: ""
toolset: "gcc"
compiler: "g++-6"
cxxstd: "11,14,1z"
- name: "TOOLSET=gcc COMPILER=g++-7 CXXSTD=11,14,17 Job 3"
buildtype: "boost"
packages: "g++-7"
packages_to_remove: ""
os: "ubuntu-20.04"
container: "ubuntu:16.04"
cxx: "g++-7"
sources: ""
llvm_os: ""
llvm_ver: ""
toolset: "gcc"
compiler: "g++-7"
cxxstd: "11,14,17"
- name: "TOOLSET=clang COMPILER=clang++ CXXSTD=11 Job 4"
buildtype: "boost"
packages: ""
packages_to_remove: ""
os: "ubuntu-18.04"
cxx: "clang++"
sources: ""
llvm_os: ""
llvm_ver: ""
toolset: "clang"
compiler: "clang++"
cxxstd: "11"
- name: "TOOLSET=clang COMPILER=clang++-4.0 CXXSTD=11, Job 5"
buildtype: "boost"
packages: "clang-4.0 libstdc++-6-dev"
packages_to_remove: ""
os: "ubuntu-20.04"
container: "ubuntu:16.04"
cxx: "clang++-4.0"
sources: ""
llvm_os: "xenial"
llvm_ver: "4.0"
toolset: "clang"
compiler: "clang++-4.0"
cxxstd: "11,14"
- name: "TOOLSET=clang COMPILER=clang++-5.0 CXXSTD=11, Job 6"
buildtype: "boost"
packages: "clang-5.0 libstdc++-7-dev"
packages_to_remove: ""
os: "ubuntu-20.04"
container: "ubuntu:16.04"
cxx: "clang++-5.0"
sources: ""
llvm_os: "xenial"
llvm_ver: "5.0"
toolset: "clang"
compiler: "clang++-5.0"
cxxstd: "11,14,1z"
os: [ ubuntu-22.04, ubuntu-24.04, macos-13, macos-14, macos-15 ]

runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}

steps:
- name: Check if running in container
if: matrix.container != ''
run: echo "GHA_CONTAINER=${{ matrix.container }}" >> $GITHUB_ENV
- name: If running in container, upgrade packages
if: matrix.container != ''
run: |
apt-get -o Acquire::Retries=3 update && DEBIAN_FRONTEND=noninteractive apt-get -y install tzdata && apt-get -o Acquire::Retries=3 install -y sudo software-properties-common wget curl apt-transport-https make apt-file sudo unzip libssl-dev build-essential autotools-dev autoconf automake g++ libc++-helpers python ruby cpio gcc-multilib g++-multilib pkgconf python3 ccache libpython-dev
sudo apt-add-repository ppa:git-core/ppa
sudo apt-get -o Acquire::Retries=3 update && apt-get -o Acquire::Retries=3 -y install git
python_version=$(python3 -c 'import sys; print("{0.major}.{0.minor}".format(sys.version_info))')
sudo wget https://bootstrap.pypa.io/pip/$python_version/get-pip.py
sudo python3 get-pip.py
sudo /usr/local/bin/pip install cmake
- uses: actions/checkout@v4

- uses: actions/checkout@v2
- name: Setup Boost
run: |
echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
LIBRARY=${GITHUB_REPOSITORY#*/}
echo LIBRARY: $LIBRARY
echo "LIBRARY=$LIBRARY" >> $GITHUB_ENV
echo GITHUB_BASE_REF: $GITHUB_BASE_REF
echo GITHUB_REF: $GITHUB_REF
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
REF=${REF#refs/heads/}
echo REF: $REF
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
echo BOOST_BRANCH: $BOOST_BRANCH
cd ..
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
git submodule update --init tools/boostdep
python3 tools/boostdep/depinst/depinst.py --git_args "--jobs 3" $LIBRARY
./bootstrap.sh
./b2 -d0 headers

- name: linux
shell: bash
env:
CXX: ${{ matrix.cxx }}
SOURCES: ${{ matrix.sources }}
LLVM_OS: ${{ matrix.llvm_os }}
LLVM_VER: ${{ matrix.llvm_ver }}
PACKAGES: ${{ matrix.packages }}
PACKAGES_TO_REMOVE: ${{ matrix.packages_to_remove }}
JOB_BUILDTYPE: ${{ matrix.buildtype }}
TOOLSET: ${{ matrix.toolset }}
COMPILER: ${{ matrix.compiler }}
CXXSTD: ${{ matrix.cxxstd }}
TRAVIS_BRANCH: ${{ github.base_ref }}
TRAVIS_OS_NAME: "linux"
- name: Run tests
run: |
echo '==================================> SETUP'
echo '==================================> PACKAGES'
set -e
if [ -n "$PACKAGES_TO_REMOVE" ]; then sudo apt-get purge -y $PACKAGES_TO_REMOVE; fi
echo ">>>>> APT: REPO.."
for i in {1..3}; do sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test" && break || sleep 2; done

if test -n "${LLVM_OS}" ; then
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
if test -n "${LLVM_VER}" ; then
sudo -E apt-add-repository "deb http://apt.llvm.org/${LLVM_OS}/ llvm-toolchain-${LLVM_OS}-${LLVM_VER} main"
else
# Snapshot (i.e. trunk) build of clang
sudo -E apt-add-repository "deb http://apt.llvm.org/${LLVM_OS}/ llvm-toolchain-${LLVM_OS} main"
fi
fi
echo ">>>>> APT: UPDATE.."
sudo -E apt-get -o Acquire::Retries=3 update
if test -n "${SOURCES}" ; then
echo ">>>>> APT: INSTALL SOURCES.."
for SOURCE in $SOURCES; do
sudo -E apt-add-repository ppa:$SOURCE
done
fi
echo ">>>>> APT: INSTALL ${PACKAGES}.."
sudo -E DEBIAN_FRONTEND=noninteractive apt-get -o Acquire::Retries=3 -y --no-install-suggests --no-install-recommends install ${PACKAGES}
cd ../boost-root
./b2 -j3 libs/$LIBRARY/test variant=debug,release

echo '==================================> INSTALL AND COMPILE'
set -e
export TRAVIS_BUILD_DIR=$(pwd)
export TRAVIS_BRANCH=${TRAVIS_BRANCH:-$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')}
export VCS_COMMIT_ID=$GITHUB_SHA
export GIT_COMMIT=$GITHUB_SHA
export REPO_NAME=$(basename $GITHUB_REPOSITORY)
export USER=$(whoami)
export CC=${CC:-gcc}
export PATH=~/.local/bin:/usr/local/bin:$PATH
windows:
strategy:
fail-fast: false
matrix:
os: [ windows-2022, windows-2025, windows-11-arm ]

if [ "$JOB_BUILDTYPE" == "boost" ]; then
runs-on: ${{matrix.os}}

echo '==================================> INSTALL'
steps:
- uses: actions/checkout@v4

BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true
- name: Setup Boost
shell: cmd
run: |
echo GITHUB_REPOSITORY: %GITHUB_REPOSITORY%
for /f %%i in ("%GITHUB_REPOSITORY%") do set LIBRARY=%%~nxi
echo LIBRARY: %LIBRARY%
echo LIBRARY=%LIBRARY%>>%GITHUB_ENV%
echo GITHUB_BASE_REF: %GITHUB_BASE_REF%
echo GITHUB_REF: %GITHUB_REF%
if "%GITHUB_BASE_REF%" == "" set GITHUB_BASE_REF=%GITHUB_REF%
set BOOST_BRANCH=develop
for /f %%i in ("%GITHUB_BASE_REF%") do if "%%~nxi" == "master" set BOOST_BRANCH=master
echo BOOST_BRANCH: %BOOST_BRANCH%
cd ..
git clone -b $BOOST_BRANCH 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
git submodule update --init tools/build
git submodule update --init libs/config
xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\
git submodule update --init tools/boostdep
cp -r $TRAVIS_BUILD_DIR/* libs/context
python tools/boostdep/depinst/depinst.py context
./bootstrap.sh
./b2 headers
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" %LIBRARY%
cmd /c bootstrap
b2 -d0 headers

echo '==================================> SCRIPT'

echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
./b2 -j 3 libs/context/test toolset=$TOOLSET cxxstd=$CXXSTD

fi
#
# osx:
# strategy:
# fail-fast: false
# matrix:
# include:
#
# Github Actions only supports certain Xcode versions
# Change (or delete) the Xcode version for this job.
#
# - name: "TOOLSET=clang COMPILER=clang++ CXXSTD=11,14,1 Job 7"
# buildtype: "boost"
# packages: ""
# os: "macos-10.15"
# cxx: "clang++"
# sources: ""
# llvm_os: ""
# llvm_ver: ""
# xcode_version: "8.3"
# toolset: "clang"
# compiler: "clang++"
# cxxstd: "11,14,1z"
#
# Github Actions only supports certain Xcode versions
# Change (or delete) the Xcode version for this job.
#
# - name: "TOOLSET=clang COMPILER=clang++ CXXSTD=11,14,1 Job 8"
# buildtype: "boost"
# packages: ""
# os: "macos-10.15"
# cxx: "clang++"
# sources: ""
# llvm_os: ""
# llvm_ver: ""
# xcode_version: "9.1"
# toolset: "clang"
# compiler: "clang++"
# cxxstd: "11,14,1z"
#
#
# runs-on: ${{ matrix.os }}
#
# steps:
# - uses: actions/checkout@v2
#
# - name: Set DEVELOPER_DIR
# if: matrix.xcode_version != ''
# run: echo "DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode_version }}.app/Contents/Developer" >> $GITHUB_ENV
# - name: Test DEVELOPER_DIR
# run: echo $DEVELOPER_DIR
#
# - name: "osx"
# shell: bash
# env:
# CXX: ${{ matrix.cxx }}
# SOURCES: ${{ matrix.sources }}
# LLVM_OS: ${{ matrix.llvm_os }}
# LLVM_VER: ${{ matrix.llvm_ver }}
# PACKAGES: ${{ matrix.packages }}
# JOB_BUILDTYPE: ${{ matrix.buildtype }}
# TOOLSET: ${{ matrix.toolset }}
# COMPILER: ${{ matrix.compiler }}
# CXXSTD: ${{ matrix.cxxstd }}
# TRAVIS_BRANCH: ${{ github.base_ref }}
# TRAVIS_OS_NAME: "osx"
# run: |
# echo '==================================> SETUP'
# set -e
# sudo mv /Library/Developer/CommandLineTools /Library/Developer/CommandLineTools.bck
# echo '==================================> PACKAGES'
# echo '==================================> INSTALL AND COMPILE'
# set -e
# export TRAVIS_BUILD_DIR=$(pwd)
# export TRAVIS_BRANCH=${TRAVIS_BRANCH:-$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')}
# export VCS_COMMIT_ID=$GITHUB_SHA
# export GIT_COMMIT=$GITHUB_SHA
# export REPO_NAME=$(basename $GITHUB_REPOSITORY)
# export USER=$(whoami)
# export CC=${CC:-gcc}
# export PATH=~/.local/bin:/usr/local/bin:$PATH
#
# if [ "$JOB_BUILDTYPE" == "boost" ]; then
#
# echo '==================================> INSTALL'
#
# BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true
# cd ..
# git clone -b $BOOST_BRANCH https://github.com/boostorg/boost.git boost-root
# cd boost-root
# git submodule update --init tools/build
# git submodule update --init libs/config
# git submodule update --init tools/boostdep
# cp -r $TRAVIS_BUILD_DIR/* libs/context
# python tools/boostdep/depinst/depinst.py context
# ./bootstrap.sh
# ./b2 headers
#
# echo '==================================> SCRIPT'
#
# echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
# ./b2 -j 3 libs/context/test toolset=$TOOLSET cxxstd=$CXXSTD
#
# fi
- name: Run tests
shell: cmd
run: |
cd ../boost-root
b2 -j3 libs/%LIBRARY%/test variant=debug,release
Loading