mirror of
https://github.com/boostorg/conversion.git
synced 2025-07-30 12:37:24 +02:00
update CI setup
This commit is contained in:
33
.github/workflows/ci.yml
vendored
33
.github/workflows/ci.yml
vendored
@ -17,29 +17,16 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- toolset: gcc-7
|
- toolset: gcc-12
|
||||||
cxxstd: "03,11,14,17"
|
|
||||||
os: ubuntu-18.04
|
|
||||||
- toolset: gcc-9
|
|
||||||
cxxstd: "03,11,14,17,2a"
|
cxxstd: "03,11,14,17,2a"
|
||||||
os: ubuntu-18.04
|
os: ubuntu-22.04
|
||||||
- toolset: gcc-10
|
|
||||||
cxxstd: "03,11,14,17,2a"
|
|
||||||
os: ubuntu-18.04
|
|
||||||
cxxflags: "cxxflags=--coverage -fsanitize=address,leak,undefined -fno-sanitize-recover=undefined"
|
cxxflags: "cxxflags=--coverage -fsanitize=address,leak,undefined -fno-sanitize-recover=undefined"
|
||||||
linkflags: "linkflags=--coverage -lasan -lubsan"
|
linkflags: "linkflags=--coverage -lasan -lubsan"
|
||||||
gcov_tool: "gcov-10"
|
gcov_tool: "gcov-12"
|
||||||
- toolset: clang
|
- toolset: clang
|
||||||
compiler: clang++-10
|
compiler: clang++-14
|
||||||
cxxstd: "03,11,14,17,2a"
|
cxxstd: "03,11,14,17,2a"
|
||||||
os: ubuntu-20.04
|
os: ubuntu-22.04
|
||||||
cxxflags: "cxxflags=-fsanitize=address,undefined,integer -fno-sanitize-recover=undefined"
|
|
||||||
linkflags: "linkflags=-fsanitize=address,undefined,integer"
|
|
||||||
- toolset: clang
|
|
||||||
cxxstd: "03,11,14,17,2a"
|
|
||||||
os: macos-10.15
|
|
||||||
cxxflags: "cxxflags=-fsanitize=address,undefined -fno-sanitize-recover=undefined"
|
|
||||||
linkflags: "linkflags=-fsanitize=address,undefined"
|
|
||||||
|
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
|
|
||||||
@ -88,9 +75,9 @@ jobs:
|
|||||||
|
|
||||||
echo -e "#!/bin/bash\nexec ${{matrix.gcov_tool}} \"\$@\"" > $GITHUB_WORKSPACE/coveralls/gcov_wrapper.sh
|
echo -e "#!/bin/bash\nexec ${{matrix.gcov_tool}} \"\$@\"" > $GITHUB_WORKSPACE/coveralls/gcov_wrapper.sh
|
||||||
chmod +x $GITHUB_WORKSPACE/coveralls/gcov_wrapper.sh
|
chmod +x $GITHUB_WORKSPACE/coveralls/gcov_wrapper.sh
|
||||||
wget https://github.com/linux-test-project/lcov/archive/v1.15.zip
|
wget https://github.com/linux-test-project/lcov/archive/v1.16.zip
|
||||||
unzip v1.15.zip
|
unzip v1.16.zip
|
||||||
LCOV="`pwd`/lcov-1.15/bin/lcov --gcov-tool $GITHUB_WORKSPACE/coveralls/gcov_wrapper.sh"
|
LCOV="`pwd`/lcov-1.16/bin/lcov --gcov-tool $GITHUB_WORKSPACE/coveralls/gcov_wrapper.sh"
|
||||||
|
|
||||||
echo "$LCOV --directory ../boost-root/bin.v2/libs/$LIBRARY/ --base-directory `pwd`/libs/$LIBRARY/test --capture --output-file $GITHUB_WORKSPACE/coveralls/coverage.info"
|
echo "$LCOV --directory ../boost-root/bin.v2/libs/$LIBRARY/ --base-directory `pwd`/libs/$LIBRARY/test --capture --output-file $GITHUB_WORKSPACE/coveralls/coverage.info"
|
||||||
$LCOV --directory ../boost-root/bin.v2/libs/$LIBRARY/ --base-directory ../boost-root/ --capture --output-file $GITHUB_WORKSPACE/coveralls/coverage.info
|
$LCOV --directory ../boost-root/bin.v2/libs/$LIBRARY/ --base-directory ../boost-root/ --capture --output-file $GITHUB_WORKSPACE/coveralls/coverage.info
|
||||||
@ -114,10 +101,6 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- toolset: msvc-14.1
|
|
||||||
cxxstd: "14,17,latest"
|
|
||||||
addrmd: 32,64
|
|
||||||
os: windows-2016
|
|
||||||
- toolset: msvc-14.2
|
- toolset: msvc-14.2
|
||||||
cxxstd: "14,17,latest"
|
cxxstd: "14,17,latest"
|
||||||
addrmd: 32,64
|
addrmd: 32,64
|
||||||
|
Reference in New Issue
Block a user