Commit Graph

20 Commits

Author SHA1 Message Date
Stefan Seefeld
e8a04f403e Merge branch 'develop' for Boost 1.72 release. 2019-10-29 16:54:55 -04:00
Mateusz Łoskot
96df5442bc
Move tests of extensions inside test/ directory (#302)
Split header tests accordingly i.e. test core headers as part of
core tests, numeric extension headers as part of numeric tests, etc.

It extends the convention of sub-directories already established in
`include/boost/gil` directory. It is sensible to follow it in other
areas of the source tree (i.e. `test/`, `doc/` and `benchmark/`).

Another important reason to move the tests is to enable removal of
the top-level `Jamfile` with all its definitions of test-specific
requirements.
The top-level `Jamfile` is not advised, especially if it specifies
build requirements like C++ language version.
Those affect non-tests builds e.g. documentation, causing failures
during generation of HTML documentation (leads to missing docs).

(cherry picked from develop branch commit 4ed7701b47)
2019-09-26 11:43:13 +02:00
Mateusz Łoskot
3d6deaeff8
Restore running of legacy tests on Travis CI and AppVeyor (#308)
Remove .ci/build-and-test.sh as unused (commands moved to.travis.yml).
2019-06-05 22:50:36 +02:00
Mateusz Łoskot
895aa77fb6
[CMake] Remove GIL_DOWNLOAD_FINDBOOST option (#307)
Upcoming CMake 3.15 introduced more dependencies in FindBoost.cmake
what makes the downloading impractical.
2019-06-05 09:19:17 +02:00
Stefan Seefeld
0fe841f2bf Fix setup logic to also work with differently named GIL forks. (#306) 2019-06-04 09:05:53 +02:00
Mateusz Łoskot
4ed7701b47
Move tests of extensions inside test/ directory (#302)
Split header tests accordingly i.e. test core headers as part of
core tests, numeric extension headers as part of numeric tests, etc.

It extends the convention of sub-directories already established in
`include/boost/gil` directory. It is sensible to follow it in other
areas of the source tree (i.e. `test/`, `doc/` and `benchmark/`).

Another important reason to move the tests is to enable removal of
the top-level `Jamfile` with all its definitions of test-specific
requirements.
The top-level `Jamfile` is not advised, especially if it specifies
build requirements like C++ language version.
Those affect non-tests builds e.g. documentation, causing failures
during generation of HTML documentation (leads to missing docs).
2019-05-28 18:58:22 +02:00
Mateusz Łoskot
1fc6e86256
[azp] Add apt-get update 2019-05-23 00:07:51 +02:00
Mateusz Łoskot
53e341b6c4
Disable stats from git log -1 during CI build
The stats may be a long list of files and some CI services
(e.g. CircleCI) freeze with `--More--` eventually failing
due to `Too long with no output (exceeded 10m0s)`
2019-04-14 23:57:18 +02:00
Mateusz Łoskot
c11a19880c
[CI] Rationalize deployment of Boost dependencies (#279)
Introduce `get-boost.sh` as Boost downloader for all our CI services.
Closes #276

Credits for `get-boost.sh` idea go to @djarek and @boostorg/beast
2019-04-13 11:51:26 +02:00
Mateusz Łoskot
d7c7edd11c
[azp] Avoid pre-installed Boost 1.69 (#277) [skip appveyor] [skip travis]
Linux and Windows images now come with pre-installed Boost 1.69.
Since it is not possible to remove GIL headers from it, we should
prefer our deployment of Boost.

References:
* #276
* C/C++: Add the latest 4 versions of Boost 1.66.0 - 1.69.0 (Linux, Windows)
  Microsoft/azure-pipelines-image-generation#732
* Document available versions of Boost 1.66.0 - 1.69.0 following #732 update
  Microsoft/azure-pipelines-image-generation#845
2019-04-10 22:14:32 +01:00
Mateusz Łoskot
9207ffc52a
Use Boost.Build 'cxxstd' feature instead of '-std' compiler flag (#266)
The cxxstd=11,14,17,... is the recommended way, announced here
https://lists.boost.org/Archives/boost/2017/10/239485.php
2019-03-22 08:16:11 +01:00
Mateusz Łoskot
ef1aa5c50f
Add build using VS2015 to Azure Pipelines (#263)
* Install latest CMake and Python on VS 2015 image.
* Remove libs/gil from installed Boost 1.68 to ensure GIL headers
  from the release are not accidentally used
2019-03-20 10:20:36 +01:00
Mateusz Łoskot
22a917dd5b
[azp] Update Python pip [skip appveyor] [skip travis] (#246)
Attempt to solve recent build failures [1] on Azure Pipelines:

- Install pip update
- Add UsePythonVersion

[1] https://developercommunity.visualstudio.com/content/problem/469073/azp-script-is-installed-in-chostedtoolcachewindows.html
2019-02-26 21:02:41 +01:00
Mateusz Łoskot
24f4873364
[azure] Suppress all b2 informational messages when installing Boost
Add missing build step name.
2019-02-05 20:20:27 +01:00
Mateusz Łoskot
1351009c0d
[azure] Add C++14 builds using GCC 8 and VS2017 (#233) 2019-02-05 19:18:32 +00:00
Mateusz Loskot
643c050bb5
Add configuration for CI builds with Azure Pipelines (#205)
Configuration summary:
  - Linux (GCC 5.4), Windows (VS2017), Mac OS (clang 4.0)
  - Boost 1.68 built with variant=release
  - Boost.GIL built and tested using CMake w/ CMAKE_BUILD_TYPE=Release
  - Basic setup of GIL IO extension dependencies is in place,
    using .deb packages or Conan.
  - Build without GIL IO extension tests due to issues in CMake
    configuration, not related to Azure Pipelines.

Closes #188

[skip appveyor]
[skip travis]
2019-01-04 22:15:51 +01:00
Stefan Seefeld
089ca49085 A few more CI fixes. 2018-06-27 08:10:32 -04:00
Stefan Seefeld
51028a2335 Fix documentation upload process. 2018-06-27 00:42:30 -04:00
Mateusz Łoskot
189889e39f Add Boost.Build variants for UBSan-enabled builds
The build variants enable group of checks offered by clang
UndefinedBehaviorSanitizer detector.

Add sanitizers suppression file in .ci/blacklist.supp based on
copy of the file from Boost.Beast.

Update Travis CI:
  - Add .ci/build-and-test.sh script as handy proxy for b2 command.
  - Add build jobs for each of the three new UBSan variants.
  - Display COMPILER and VARIANT first as these two are most important
    details while inspecting the build matrix
    (TOOLSET can be derived from COMPILER).
2018-06-27 00:02:27 -04:00
Stefan Seefeld
22c82514dc Update documentation. 2018-06-27 00:02:27 -04:00