2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-19 04:12:11 +00:00

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>.
This commit is contained in:
Dirk Stolle
2022-08-12 09:21:13 +02:00
committed by GitHub
parent 8465d54631
commit 1f89d622e3
8 changed files with 5 additions and 212 deletions

View File

@@ -1,71 +0,0 @@
# Azure Pipelines for Boost.GIL
#
# Copyright 2018-2019 Mateusz Loskot <mateusz at loskot dot net>
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
#
variables:
#system.debug: true
configuration: release
trigger:
- master
- develop
- azure-pipelines
- ml/*
jobs:
- job: 'ubuntu1804_gcc6_cxx14_cmake'
pool:
vmImage: 'ubuntu-18.04'
steps:
- template: .ci/azure-pipelines/steps-install-gcc.yml
parameters:
major_version: '6'
- script: which g++ && g++ --version
displayName: 'Check GCC'
- template: .ci/azure-pipelines/steps-check-cmake.yml
- script: |
sudo -E apt-get update
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install libpng-dev libjpeg-dev libtiff5-dev libraw-dev
displayName: 'Install dependencies'
- template: .ci/azure-pipelines/steps-install-boost.yml
- template: .ci/azure-pipelines/steps-cmake-build-and-test.yml
parameters:
cxxver: '14'
- job: 'ubuntu1804_gcc8_cxx14_cmake'
pool:
vmImage: 'ubuntu-18.04'
steps:
- template: .ci/azure-pipelines/steps-install-gcc.yml
parameters:
major_version: '8'
- script: which g++ && g++ --version
displayName: 'Check GCC'
- template: .ci/azure-pipelines/steps-check-cmake.yml
- script: |
sudo -E apt-get update
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install libpng-dev libjpeg-dev libtiff5-dev libraw-dev
displayName: 'Install dependencies'
- template: .ci/azure-pipelines/steps-install-boost.yml
- template: .ci/azure-pipelines/steps-cmake-build-and-test.yml
parameters:
cxxver: '14'
- job: 'macos1015_xcode11_cmake'
pool:
vmImage: 'macOS-10.15'
steps:
- script: which clang++ && clang++ --version
displayName: 'Check clang'
- template: .ci/azure-pipelines/steps-check-cmake.yml
- template: .ci/azure-pipelines/steps-install-conan.yml
parameters:
python: python3
- template: .ci/azure-pipelines/steps-install-boost.yml
parameters:
toolset: darwin
- template: .ci/azure-pipelines/steps-cmake-build-and-test.yml
parameters:
use_conan: 'ON'

View File

@@ -1,9 +0,0 @@
# Azure Pipelines for Boost.GIL
#
# Copyright 2018-2019 Mateusz Loskot <mateusz at loskot dot net>
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
#
steps:
- script: cmake --version
displayName: 'Check CMake'

View File

@@ -1,51 +0,0 @@
# Azure Pipelines for Boost.GIL
#
# Copyright 2018-2019 Mateusz Loskot <mateusz at loskot dot net>
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
#
parameters:
# defaults, if not specified
configuration: 'Release'
cxxver: '14'
enable_ext_io: 'OFF'
enable_ext_numeric: 'ON'
enable_ext_toolbox: 'ON'
use_conan: 'OFF'
steps:
- script: |
export BOOST_ROOT=$(Build.SourcesDirectory)/boost-root
export BOOST_INCLUDEDIR=$BOOST_ROOT
export BOOST_LIBRARYDIR=$BOOST_ROOT/lib
cmake -H. -B_build -DCMAKE_BUILD_TYPE=${{ parameters.configuration }} -DCMAKE_CXX_STANDARD=${{ parameters.cxxver }} -DCMAKE_VERBOSE_MAKEFILE=ON -DBoost_DEBUG=ON -DBoost_NO_SYSTEM_PATHS=ON -DBOOST_GIL_USE_CONAN=${{ parameters.use_conan }} -DBOOST_GIL_ENABLE_EXT_IO=${{ parameters.enable_ext_io }} -DBOOST_GIL_ENABLE_EXT_NUMERIC=${{ parameters.enable_ext_numeric }} -DBOOST_GIL_ENABLE_EXT_TOOLBOX=${{ parameters.enable_ext_toolbox }}
workingDirectory: $(Build.SourcesDirectory)/boost-root/libs/gil
displayName: 'Run CMake to configure build on Unix'
condition: ne(variables['Agent.OS'], 'Windows_NT')
- script: |
set BOOST_ROOT=$(Build.SourcesDirectory)\boost-root
set BOOST_INCLUDEDIR=%BOOST_ROOT%
set BOOST_LIBRARYDIR=%BOOST_ROOT%\lib
cmake -H. -B_build -DCMAKE_BUILD_TYPE=${{ parameters.configuration }} -DCMAKE_CXX_STANDARD=${{ parameters.cxxver }} -DCMAKE_VERBOSE_MAKEFILE=ON -DBoost_DEBUG=ON -DBoost_ADDITIONAL_VERSIONS="1.70;1.71" -DBoost_ARCHITECTURE=-x32 -DBoost_NO_SYSTEM_PATHS=ON -DBOOST_GIL_USE_CONAN=${{ parameters.use_conan }} -DBOOST_GIL_ENABLE_EXT_IO=${{ parameters.enable_ext_io }} -DBOOST_GIL_ENABLE_EXT_NUMERIC=${{ parameters.enable_ext_numeric }} -DBOOST_GIL_ENABLE_EXT_TOOLBOX=${{ parameters.enable_ext_toolbox }}
workingDirectory: $(Build.SourcesDirectory)/boost-root/libs/gil
displayName: 'Run CMake to configure build on Windows'
condition: eq(variables['Agent.OS'], 'Windows_NT')
- script: cmake --build _build --config ${{ parameters.configuration }} -j 4
workingDirectory: $(Build.SourcesDirectory)/boost-root/libs/gil
displayName: 'Run CMake to build'
- script: cd _build && ctest -V --output-on-failure --build-config ${{ parameters.configuration }}
workingDirectory: $(Build.SourcesDirectory)/boost-root/libs/gil
displayName: 'Run CTest to test'
condition: ne(variables['Agent.OS'], 'Darwin')
- script: |
# Set DYLD_FALLBACK_LIBRARY_PATH to avoid 'dyld: Library not loaded: libboost_*.dylib' error
export DYLD_FALLBACK_LIBRARY_PATH=$(Build.SourcesDirectory)/boost-root/stage/lib:$DYLD_FALLBACK_LIBRARY_PATH
echo "DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH"
cd _build && ctest -V --output-on-failure --build-config ${{ parameters.configuration }}
workingDirectory: $(Build.SourcesDirectory)/boost-root/libs/gil
displayName: 'Run CTest to test on macOS'
condition: eq(variables['Agent.OS'], 'Darwin')

View File

@@ -1,41 +0,0 @@
# Azure Pipelines for Boost.GIL
#
# Copyright 2018-2019 Mateusz Loskot <mateusz at loskot dot net>
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
#
parameters:
# defaults, if not specified
variant: 'release'
toolset: 'gcc'
steps:
# The $BSD_DIR is the same path as $(Build.SourcesDirectory)
# but guaranteed in Unix format /a/b/c on every OS.
- bash: |
export BSD_DIR=$PWD
cd ..
export GIL_DIR=$PWD/gil
echo "Copying $BSD_DIR to $GIL_DIR"
cp -a $BSD_DIR $GIL_DIR
cd $BSD_DIR
$GIL_DIR/.ci/get-boost.sh $(Build.SourceBranchName) $GIL_DIR
displayName: 'Download Boost'
- script: |
cd boost-root
./bootstrap.sh
sudo ./b2 headers
sudo ./b2 -j4 toolset=${{ parameters.toolset }} variant=${{ parameters.variant }} --with-filesystem stage
ls stage/lib
displayName: 'Install Boost on Unix'
condition: ne(variables['Agent.OS'], 'Windows_NT')
- script: |
cd boost-root
call .\bootstrap.bat
.\b2 headers
.\b2 -j4 address-model=32 variant=${{ parameters.variant }} --layout=system --with-filesystem stage
dir stage\lib
displayName: 'Install Boost on Windows'
condition: eq(variables['Agent.OS'], 'Windows_NT')

View File

@@ -1,17 +0,0 @@
# Azure Pipelines for Boost.GIL
#
# Copyright 2018-2019 Mateusz Loskot <mateusz at loskot dot net>
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
#
parameters:
python: 'python' # default, if not specified
steps:
- script: |
${{ parameters.python }} --version
${{ parameters.python }} -m ensurepip
${{ parameters.python }} -m pip install --upgrade pip
${{ parameters.python }} -m pip install --upgrade conan
conan --version
displayName: 'Install Conan'

View File

@@ -1,18 +0,0 @@
# Azure Pipelines for Boost.GIL
#
# Copyright 2019 Mateusz Loskot <mateusz at loskot dot net>
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
#
parameters:
# defaults, if not specified
major_version: 8
steps:
- bash: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
sudo apt-get install g++-${{ parameters.major_version }}
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${{ parameters.major_version }} 90
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ parameters.major_version }} 90
displayName: 'Install GCC'

View File

@@ -79,7 +79,7 @@ jobs:
os: ubuntu-20.04 os: ubuntu-20.04
- toolset: clang - toolset: clang
cxxstd: "14,17" cxxstd: "14,17"
os: macos-10.15 os: macos-11
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}

View File

@@ -10,10 +10,10 @@
[![Conan](https://img.shields.io/badge/on-conan-blue.svg)](https://bintray.com/bincrafters/public-conan/boost_gil%3Abincrafters) [![Conan](https://img.shields.io/badge/on-conan-blue.svg)](https://bintray.com/bincrafters/public-conan/boost_gil%3Abincrafters)
[![Vcpkg](https://img.shields.io/badge/on-vcpkg-blue.svg)](https://github.com/Microsoft/vcpkg/tree/master/ports/boost-gil) [![Vcpkg](https://img.shields.io/badge/on-vcpkg-blue.svg)](https://github.com/Microsoft/vcpkg/tree/master/ports/boost-gil)
Documentation | GitHub Actions | AppVeyor | Azure Pipelines | Regression | Codecov Documentation | GitHub Actions | AppVeyor | Regression | Codecov
--------------|----------------|----------|-----------------|------------|---------- --------------|----------------|----------|------------|----------
[![develop](https://img.shields.io/badge/doc-develop-blue.svg)](https://boostorg.github.io/gil/develop/) | [![GitHub Actions](https://github.com/boostorg/gil/workflows/CI/badge.svg?branch=develop)](https://github.com/boostorg/gil/actions?query=branch:develop) | [![AppVeyor](https://ci.appveyor.com/api/projects/status/w4k19d8io2af168h/branch/develop?svg=true)](https://ci.appveyor.com/project/stefanseefeld/gil/branch/develop) | [![Azure](https://dev.azure.com/boostorg/gil/_apis/build/status/boostorg.gil?branchName=develop)](https://dev.azure.com/boostorg/gil/_build/latest?definitionId=7&branchName=develop) | [![gil](https://img.shields.io/badge/gil-develop-blue.svg)](http://www.boost.org/development/tests/develop/developer/gil.html) | [![codecov](https://codecov.io/gh/boostorg/gil/branch/develop/graphs/badge.svg)](https://app.codecov.io/gh/boostorg/gil/branch/develop) [![develop](https://img.shields.io/badge/doc-develop-blue.svg)](https://boostorg.github.io/gil/develop/) | [![GitHub Actions](https://github.com/boostorg/gil/workflows/CI/badge.svg?branch=develop)](https://github.com/boostorg/gil/actions?query=branch:develop) | [![AppVeyor](https://ci.appveyor.com/api/projects/status/w4k19d8io2af168h/branch/develop?svg=true)](https://ci.appveyor.com/project/stefanseefeld/gil/branch/develop) | [![gil](https://img.shields.io/badge/gil-develop-blue.svg)](http://www.boost.org/development/tests/develop/developer/gil.html) | [![codecov](https://codecov.io/gh/boostorg/gil/branch/develop/graphs/badge.svg)](https://app.codecov.io/gh/boostorg/gil/branch/develop)
[![master](https://img.shields.io/badge/doc-master-blue.svg)](https://boostorg.github.io/gil/) | [![GitHub Actions](https://github.com/boostorg/gil/workflows/CI/badge.svg?branch=master)](https://github.com/boostorg/gil/actions?query=branch:master) | [![AppVeyor](https://ci.appveyor.com/api/projects/status/w4k19d8io2af168h?svg=true)](https://ci.appveyor.com/project/stefanseefeld/gil/branch/master) | [![Azure](https://dev.azure.com/boostorg/gil/_apis/build/status/boostorg.gil?branchName=master)](https://dev.azure.com/boostorg/gil/_build/latest?definitionId=7&branchName=master) | [![gil](https://img.shields.io/badge/gil-master-blue.svg)](http://www.boost.org/development/tests/master/developer/gil.html) | [![codecov](https://codecov.io/gh/boostorg/gil/branch/master/graphs/badge.svg)](https://app.codecov.io/gh/boostorg/gil/branch/master) [![master](https://img.shields.io/badge/doc-master-blue.svg)](https://boostorg.github.io/gil/) | [![GitHub Actions](https://github.com/boostorg/gil/workflows/CI/badge.svg?branch=master)](https://github.com/boostorg/gil/actions?query=branch:master) | [![AppVeyor](https://ci.appveyor.com/api/projects/status/w4k19d8io2af168h?svg=true)](https://ci.appveyor.com/project/stefanseefeld/gil/branch/master) | [![gil](https://img.shields.io/badge/gil-master-blue.svg)](http://www.boost.org/development/tests/master/developer/gil.html) | [![codecov](https://codecov.io/gh/boostorg/gil/branch/master/graphs/badge.svg)](https://app.codecov.io/gh/boostorg/gil/branch/master)
# Boost.GIL # Boost.GIL