Commit Graph

36 Commits

Author SHA1 Message Date
Mateusz Łoskot
8d3d174e4c
[appveyor] Switch all jobs to VS2017 image (#366) 2019-08-05 23:11:47 +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
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
8bcc9b032e
[appveyor] Add build jobs using VS2015 (#290) [travis skip] 2019-04-17 01:29:38 +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
d8280e6b9d
[appveyor] Add C++17 builds with VS2017 (#278) [skip travis]
For existing builds, bump C++ version to 14 which is lowest effective
version (and default) supported by compiler from VS2017.
2019-04-11 14:07:44 +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
1541d5cf8a
Add test for pixels_are_compatible metafunction (#245) 2019-02-26 22:14:34 +01:00
Mateusz Łoskot
3e4a2d0ed2
[appveyor] Fix accidental YAML breakage [skip travis]
The .travis.yml leaked in here by accident,
in SHA-1:5f241af90daac96b3cff8f990843dcde199094d7
2019-02-19 20:55:35 +01:00
Mateusz Łoskot
5f241af90d
[ci] Ensure CI builds clone pre-determined super-project branch
Rename custom variant with gil_ prefix.
Do not define project ID from Jamfile-s as unnecessary.
The project ID-s and build features are global resources, easy to clash.

Add recently added test/ subdirectories to build.
2019-02-19 18:21:28 +01:00
Samuel Debionne
2308a1a85a Use Boost.Variant instead of GIL's own variant implementation (#231)
Adds support C++11 decltype(auto)

Fixes #131
2019-02-05 00:47:08 +00:00
Mateusz Loskot
da6acc6cca
Remove uses of Boost.Function (#213)
Remove uses of boost::mem_fn (missing from Bind.Bind removal in #212).
2019-01-13 06:32:20 +01:00
Mateusz Loskot
78b7dcfeca
Remove uses of Boost.Bind and Boost.Lambda (#212)
Replace with std::bind and C++11 lambda functions.
The two Boost libraries should no longer be a direct
dependency of Boost.GIL.
2019-01-13 02:03:25 +01:00
Mateusz Loskot
f578a8be9c
Replace assert() macro with BOOST_ASSERT() macro (#208)
Add #include <boost/assert.hpp> where necessary.
Apply minor clean-up near the macro replacements.

Closes #96
2019-01-12 10:21:01 +01:00
Mateusz Loskot
6e3ccc00b1
Remove dependency on Boost.StaticAssert (#207)
Replaced BOOST_STATIC_ASSERT with C++11 binary static_assert,
with empty message.

In future, this should make it possible to automatically refactor
into C++17 unary static_assert using clang-tidy and
its modernize-unary-static-assert check.

Closes #106
2019-01-11 10:33:09 +01:00
Mateusz Łoskot
762af55d08
[appveyor] Update list of allow_failures jobs 2019-01-04 10:53:19 +01:00
Mateusz Łoskot
602d51d05a
Follow up feature/cmake-config merged to boostorg/boost develop
Details at https://lists.boost.org/Archives/boost/2018/12/244697.php
2018-12-18 22:47:26 +01:00
Mateusz Łoskot
9dc67eae1d
Add test to verify headers are self-contained
For each header, a translation unit is generated along with
corresponding compile target.
Currently, only boost/gil/*.hpp and boost/gil/io/* headres are included.

On CI services, compile self_contained_headers targets only if
TEST_HEADERS environment variable is set. This is to avoid build
timeouts due to CI services limits.
When running b2 locally, the tests are compiled by default.
2018-10-05 18:11:08 +02:00
Stefan Seefeld
51cf617c63 Fix 'raw' IO extension. 2018-07-15 20:37:06 -04:00
Mateusz Łoskot
3d311c68e3 [appveyor] List required Boost libraries explicitly
Group list of deps for easy identification of direct ones.
Add --quiet option to git submodule commands on Travis CI.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
1d72f6a205 [appveyor] Fix build jobs using CMake
Attempt to fix the Boost look-up failure.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
5737caa039 Require C++11 or later
Add necessary flags to Boost.Build and CMake configurations
as well as CI builds.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
39ab012252 [appveyor] Install latest FindBoost.cmake only for CMake builds 2018-06-27 00:02:27 -04:00
Mateusz Loskot
84cc287d1b [appveyor] Add CMake build to allow_failures
Investigating why CMake 3.10 path is not accessible
2018-06-27 00:02:27 -04:00
Mateusz Loskot
7b5f917c9f [appveyor] Add CMAKE_CONFIG as CamelCase counterpart to VARIANT 2018-06-27 00:02:27 -04:00
Mateusz Loskot
b8d2b3f983 Allow AppVeyor failures for b2 variant=release 2018-06-27 00:02:27 -04:00
Mateusz Loskot
862539f6c4 Add AppVeyor jobs for b2 variant=release (#46)
Add AppVeyor jobs for b2 variant=release
2018-06-27 00:02:27 -04:00
Mateusz Loskot
01c2f5355a Add Gitter webhook notifications for Travis CI and AppVeyor 2018-06-27 00:02:27 -04:00
Mateusz Loskot
6db2434f61 Remove ml/add-cmake from branch filter in .appveyor.yml 2018-06-27 00:02:27 -04:00
Mateusz Loskot
fab99207f2 Add basic CMake configuration for Boost.GIL
First stab at collection of CMakeLists.txt for Boost.GIL
  - Allow building and testing boostorg/gil against Boost from
    cloned superproject or installed distribution.
Add CMakeSettings.json config file for VS2017 integration with CMake
  - Defines build configurations for VS and Ninja generators.
  - Can be used as is or as a template ready to customise.
Add conanfile.txt for Conan package manager (eg. for cmake -DGIL_USE_CONAN=ON).
Add .editignore file to with basic encoding of CMake and CI scripts.
Update .appveyor.yml with two extra CMake-based builds (allowed to fail).
2018-06-27 00:02:27 -04:00
Mateusz Loskot
32bccb3530 Add vcpkg bin folder to PATH (#45)
Fix GIL IO tests issue with dependency DLLs not found.
2018-06-27 00:02:27 -04:00
Stefan Seefeld
f6afce0f7c Add numeric tests. 2018-06-27 00:02:27 -04:00
Stefan Seefeld
e3b2e37a3b Use system vcpkg. 2018-06-27 00:02:27 -04:00
Stefan Seefeld
780d0ea95e Use b2 modules to detect IO libs. (#28)
Use b2 modules to detect IO libs.
2018-06-27 00:02:27 -04:00
Stefan Seefeld
8096158c92 Split off 'simple' IO test and use it in CI testing. 2018-06-27 00:02:27 -04:00
Stefan Seefeld
2310e37f5c Add .appveyor.yml 2018-06-27 00:02:19 -04:00