This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
commit 51bafba469d0ba16c7ee4fb57c3a2a89dec6d8d9 Author: Andrew Stitcher <[email protected]> AuthorDate: Tue Nov 10 16:10:41 2026 -0500 NO-JIRA: Change python version for azure build; MacOS dependencies - Use Ninja for azure build on MacOS, Ubuntu --- .github/workflows/build.yml | 5 ++++- azure-pipelines/azure-pipelines.yml | 15 +++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7da715f91..b092e7da1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,7 +58,10 @@ jobs: - name: Install MacOS dependencies if: runner.os == 'macOS' run: | - brew install libuv swig pkgconfig jsoncpp + brew install libuv pkgconfig jsoncpp [email protected] + OPENSSL_PREFIX="$(brew --prefix [email protected])" + echo "OPENSSL_ROOT_DIR=$OPENSSL_PREFIX" >> "$GITHUB_ENV" + echo "PKG_CONFIG_PATH=$OPENSSL_PREFIX/lib/pkgconfig" >> "$GITHUB_ENV" - name: OTel build/install if: runner.os == 'Linux' working-directory: ${{github.workspace}} diff --git a/azure-pipelines/azure-pipelines.yml b/azure-pipelines/azure-pipelines.yml index a9b1ea063..66cd29af8 100644 --- a/azure-pipelines/azure-pipelines.yml +++ b/azure-pipelines/azure-pipelines.yml @@ -3,22 +3,19 @@ # Use RelWithDebInfo build configuration so that linking on Windows doesn't require the # usually absent python debug dll. # -# Set up the Windows python version to be the x86 (32 bit) version so that we can use the -# default cmake generator which uses the 32 bit compiler -# variables: Config: 'RelWithDebInfo' - PythonVersion: '3.9' + PythonVersion: '3.12' PythonArch: 'x64' CmakeConfigExtraArgs: '' - CmakeGenerator: '-G "Unix Makefiles"' + CmakeGenerator: '-G Ninja' StaticLibs: yes jobs: - job: Windows variables: CmakeConfigExtraArgs: '-A x64 -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake' - CmakeGenerator: '-G "Visual Studio 17 2022"' + CmakeGenerator: '-G "Visual Studio 18 2026"' VCPKG_DEFAULT_TRIPLET: x64-windows pool: vmImage: 'windows-latest' @@ -44,7 +41,9 @@ jobs: vmImage: 'macOS-latest' steps: - script: | - brew update - brew install libuv swig pkgconfig [email protected] jsoncpp + brew install libuv pkgconfig jsoncpp [email protected] + OPENSSL_PREFIX=$(brew --prefix [email protected]) + echo "##vso[task.setvariable variable=OPENSSL_ROOT_DIR]$OPENSSL_PREFIX" + echo "##vso[task.setvariable variable=PKG_CONFIG_PATH]$OPENSSL_PREFIX/lib/pkgconfig" name: InstallExtraStuff - template: steps.yml --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
