2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-19 16:22:14 +00:00

46 Commits

Author SHA1 Message Date
Samuel Debionne
82fb0899dd ci: drop deprecated macos 13 and add macos 14 and 15 2025-11-25 21:40:19 +01:00
Samuel Debionne
9d25fc0197 ci: drop clang++=5 stdcxx=1z build variant 2025-11-25 21:40:19 +01:00
Dirk Stolle
c3435314a1 ci: add newer Clang versions 2025-08-03 23:00:30 +02:00
Mateusz Łoskot
6fbc2c067c Merge pull request #769 from striezel-stash/ci-test-on-newer-gcc
ci: add jobs for newer GCC versions
2025-08-03 11:07:55 +02:00
Dirk Stolle
df5f3f80a4 ci: add jobs for newer GCC versions 2025-07-31 19:42:04 +02:00
Dirk Stolle
b438f7e813 ci: move GitHub Action's Windows builds to supported OS version
The Windows Server 2019 runner image has been removed as of 2025-06-30,
so it's not available anymore. For further information on that see
<https://github.com/actions/runner-images/issues/12045>.

However, we can test on the newer Windows Server 2022 image instead.

Unfortunately, the Windows Server 2019 image was the last one to have
Visual Studio 2019, so from now on only Visual Studio 2022 can be used
in the CI workflows for MSVC.
2025-07-31 18:11:31 +02:00
Dirk Stolle
dc89ecd065 ci: move Ubuntu 20.04 builds to container or newer Ubuntu version
The Ubuntu 20.04 image on GitHub Actions will be unavailable by
2025-04-15. See <https://github.com/actions/runner-images/issues/11101>
for more information on the deprecation and removal.

Therefore all build jobs that use the Ubuntu 20.04 runner image
of GHA have to be either migrated to a newer runner image (if
the compiler version is available on a newer image) or have to be
moved to Docker containers using Ubuntu 20.04 (if the compiler
version is not available on the newer runner images). And that's
what this change tries to do.
2025-04-04 19:11:27 +02:00
Alexander Grund
eb142a3659 Fix node 20 issue on GHA CI (#758)
* Update containers
2024-12-08 20:29:30 +01:00
Dirk Stolle
91e2dcc9a4 ci: update codecov/codecov-action in GitHub Actions workflow to v4 (#755) 2024-07-23 15:57:13 +02:00
Dirk Stolle
67f021ae3d CI improvements and workarounds (#750)
* ci: add workaround for failing container jobs

Node.js 20 is not supported in older containers like ubuntu:18.04,
but GitHub Actions nowawadays forces the use of Node.js 20, even
if the action itself still specified Node.js 16 as the version to
use. The result is that e.g. `actions/checkout@v3` fails in the
containers, although it should not (because v3 is still specified
Node.js 16).

See <https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/>
for more information on that forced Node.js version. Fortunately,
there still is a workaround to restore the old behaviour, and
that is to set a environment variable to allow older Node.js to
be used in those actions, and that is what this change does.

* ci: switch from macOS 11 to macOS 12

The runner image for macOS 11 has been removed on 2024-06-28. See
<https://github.blog/changelog/2024-05-20-actions-upcoming-changes-to-github-hosted-macos-runners/>
for more information on that.

So the easiest fix is probably just to move to the next newest
version of macOS that is still avaiable for GHA.
2024-07-05 00:56:34 +02:00
Dirk Stolle
822c19ee7d ci: fix Python package in coverage workflow (#740) 2023-12-25 23:59:52 +01:00
Dirk Stolle
3a4d45443d ci: update actions/checkout in GitHub Actions workflows to v4 (#739) 2023-12-25 00:01:54 +01:00
Mateusz Łoskot
e24c87fde2 ci: ubuntu-18.04 environment is deprecated (#738)
* ci: ubuntu-18.04 environment is deprecated

Switch to containers.
2023-10-01 21:47:08 +02:00
Dirk Stolle
1df8c2407e ci: Update actions/checkout in GitHub Actions workflows to v3 (#720) 2022-11-14 11:15:10 +01:00
Dirk Stolle
1f89d622e3 ci: replace macOS 10.15 with macOS 11 in CI pipelines (#717)
* ci: replace macOS 10.15 with macOS 11 in CI workflow

GitHub started the deprecation process for macOS 10.15 runners
on 2022-05-31, and macOS 10.15 will be completely unsupported by
2022-08-30 (if things proceed as planned).

See <https://github.com/actions/runner-images/issues/5583> for
more information on the removal of the macOS 10.15 images.

This issue already hit us during the build for PR #716, because
at that time there was a scheduled brownout for macOS 10.15
builds to raise awareness of the upcoming removal.

* ci: remove Azure pipeline build configuration

See <https://github.com/boostorg/gil/pull/717#issuecomment-1212415021>.
2022-08-12 09:21:13 +02:00
Dirk Stolle
8465d54631 ci: partially replace Ubuntu 18.04 on GHA with Ubuntu 20.04 (#716)
GitHub started the deprecation process for Ubuntu 18.04 Action
runners on 2022-08-08, and Ubuntu 18.04 will be completely
unsupported by 2022-12-01 (if things proceed as planned).

See <https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/>
for the announcement and more information on that.

So this commit replace those Ubuntu 18.04 runners with the
next newest Ubuntu 20.04 runner that have shown to still work
with the newer version.

The other five GHA jobs with Ubuntu 18.04 (gcc-6, gcc-7,
clang++-3.9, clang++-4.0, clang++-5.0) still need to be dealt
with separately later.
2022-08-10 18:37:20 +02:00
Mateusz Łoskot
27826a7d55 ci: Remove C++11 build jobs after C++14 switch (#698)
* build: test/Jamfile now check for cxx14_constepxr

Closes #696
2022-06-27 22:45:24 +02:00
Mateusz Łoskot
4ad824e8dd ci: Remove clang 3.5 through 3.8 jobs based on Ubuntu 16.04
Some of those clang jobs will be restored once
we refactor our GHA workflows with builds
2022-05-18 23:31:43 +02:00
Mateusz Łoskot
44d4ab8d4b ci: Disable g++-8 cxxstd=17 - segmentation fault for simple_all_formats test
Mystery: The C++17 is the only build using GCC 8
for which simple_all_formats test fails with segmentation fault.
Something to look at in future.
2022-05-18 09:25:15 +02:00
Mateusz Łoskot
22be33bb61 ci: Remove cxxstd=2a from GitHub Actions ci.yml workflow
This is workaround for clang issue with cxxstd=2a:
  error: no member named 'is_constant_evaluated' in namespace 'std'
See https://github.com/boostorg/gil/pull/621#issuecomment-1096942965
2022-04-12 19:24:49 +02:00
Mateusz Łoskot
8d83cdca24 ci: Remove /std:c++latest from MSVC build variants
This should work around the Internal Compiler Error
due to std::vector<std::vector<bool>>, see
https://github.com/boostorg/gil/issues/645
2022-04-12 17:25:39 +02:00
Dirk Stolle
09c3464adf ci: Switch GitHub Action's MSVC build to supported OS version (#644)
Windows 2016 has been retired in March 2022, so it's not available
anymore. For further information on that see
<https://github.com/actions/virtual-environments/issues/4312>.

However, we can test on the newer Windows 2022 image instead.
This also brings Visual Studio 2022.
2022-04-09 13:26:41 +02:00
Dirk Stolle
a38f890fee ci: Fix Clang 9 build on GitHub Actions (#641)
The name of the clang-9 package was missing,
so it was not installed.
2022-04-07 20:01:02 +02:00
Dirk Stolle
bb080b5445 ci: Replace Ubuntu 16.04 with Ubuntu 18.04 in some GitHub Actions jobs (#640)
* Replace Ubuntu 16.04 with Ubuntu 18.04 in GitHub Actions

Ubuntu 16.04 is no longer available for GitHub Actions,
because support for it has ended. Some older Clang versions
seem to be unavailable in the APT repostiry, so those are not
changed to 18.04 by intention.

* Replace Ubuntu 16.04 with Ubuntu 18.04 in Azure Pipelines
2022-04-07 13:49:02 +02:00
Mateusz Łoskot
2ad274cc81 ci: Remove cxxstd=14 from clang 3.5 job on GitHub Actions (#590)
Despite https://clang.llvm.org/cxx_status.html saying:

  Clang 3.4 and later implement all of the ISO C++ 2014 standard.

The clang 3.5 suffers from the bug in C++14 mode causing failure of
Boost.Filesystem build with:

  error: debug information for auto is not yet supported
  error: debug information for auto is not yet supported

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800483
2021-04-02 20:35:17 +02:00
Mateusz Łoskot
cea6ef2752 ci: Fix availability of toolsets in updated Ubuntu images of GitHub Actions (#589)
The `compiler` property should trigger creation of `user-config.jam`
with the expected GCC 8 defined.

Something has changed on the GitHub Actions images or Boost.Build
and GCC 8 build job started failing:

   /home/runner/work/gil/boost-root/tools/build/src/tools/gcc.jam:203: in gcc.init from module gcc
   error: toolset gcc initialization:
   error: version '8' requested but 'g++-8' not found and version '7.5.0' of default 'g++' does not match

e.g. https://github.com/boostorg/gil/pull/562/checks?check_run_id=2246393722

The compilers should be `install`-ed explicitly to avoid such issues in future.
2021-04-02 15:53:03 +02:00
Gopi Krishna Menon
6da59cc335 docs: Updated GA workflow to publish with peaceiris/action-gh-pages (#574) 2021-03-10 09:16:10 +01:00
Mateusz Łoskot
745d033ef2 ci: Use GitHub Actions automatic GITHUB_TOKEN secret in docs workflow 2021-03-05 20:57:59 +01:00
Mateusz Łoskot
8bd2413127 ci: Remove GCC 5 on GitHub Actions and Azure Pipelines (#572)
Required by #526
See also https://github.com/boostorg/website/pull/562

Disable system.debug on AzP
2021-03-02 19:25:11 +01:00
Gopi Krishna Menon
0778069b8e Switch docs deployment from Travis CI to GitHub Actions (#563) 2021-03-02 11:02:07 +01:00
Avinal Kumar
a82af6d25d ci: Add Codecov to GitHub Actions (#564)
Delete coverage.sh as unused
Closes #565
2021-02-28 09:54:56 +01:00
Mateusz Łoskot
81b4dc08bd ci: Add configuration for GitHub Actions (#544)
Add basic GitHub Actions configuration based on mp11
Remove Actions jobs using GCC 4.7 and 4.8 - unsupported compilers
Run b2 with --abbreviate-paths on Windows
The -std=c++1z is broken for clang-4.0 but no need to test it
Add -mbig-obj to GCC on Windows
  - That is to avoid string table overflow and file too big
Define _GLIBCXX_USE_CXX11_ABI=0 for clang 3.5, 3.6, 3.7
  - Should help avoid linker error:
    `undefined reference to std::ios_base::failure::failure(char const*, std::error_code const&)`
Disable certain check in algorithm_channel_relation test for clang<3.8
2021-01-25 02:34:04 +01:00
Mateusz Łoskot
21fce27b9a Delete deprecated .github/ISSUE_TEMPLATE.md [ci skip]
Replaced with new templates generated using the templates builder,
recommended by GitHub.

[ci skip]
2019-08-08 00:47:44 +02:00
Mateusz Łoskot
b365cc2339 Update issue templates: feature request [ci skip]
Using the recommended GitHub templates builder

[ci skip]
2019-08-08 00:46:55 +02:00
Mateusz Łoskot
5c5fdc068d Update issue templates: bug report
Using the multiple issue templates builder
2019-08-08 00:42:10 +02:00
Mateusz Łoskot
199bec1eae Tidy up GitHub templates using comments [ci skip] 2019-07-12 15:08:20 +01:00
Mateusz Łoskot
20308531d4 Rationalize GitHub templates [ci skip] 2019-04-15 21:23:58 +02:00
Mateusz Łoskot
fb272d6c86 Emphasize branch requirement and simplify description section [ci skip] 2018-08-24 09:57:16 +02:00
Mateusz Łoskot
1fc2f43fb3 Require PRs to be based on develop, and never on master [ci skip] 2018-07-03 18:05:20 +02:00
Mateusz Łoskot
2476006f9f Fix typo [ci skip] 2018-06-27 00:02:27 -04:00
Mateusz Łoskot
7f6eb255c7 Simplify pull template sections [ci skip] 2018-06-27 00:02:27 -04:00
Mateusz Loskot
c4d29651ab Simplify labelling proposal 2018-06-27 00:02:27 -04:00
Mateusz Loskot
43dfc05fb9 Simplify labelling proposal
[ci skip]
2018-06-27 00:02:27 -04:00
Mateusz Loskot
d9f8b7564e First stab at GitHub labelling scheme
Add labels.json for use with https://github.com/mloskot/github-label-maker/

[ci skip]
2018-06-27 00:02:27 -04:00
Mateusz Loskot
a3ef10aae4 Make headings in .github template less overwhelming
[ci skip]
2018-06-27 00:02:27 -04:00
Mateusz Loskot
c6a2476eb6 Add GitHub templates for issue and pull request 2018-06-27 00:02:27 -04:00