From ee3e94bd35598c59651db9a4d04431c30a42b52c Mon Sep 17 00:00:00 2001 From: milek7 Date: Thu, 21 Jan 2021 23:28:34 +0100 Subject: [PATCH] add macos imgui gl2 build to CI --- azure-pipelines.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b745571f..84a4480c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -80,6 +80,39 @@ jobs: artifactName: binaries_macos displayName: 'Publish binaries' + - job: macos1015_imgui_gl2 + pool: + vmImage: 'macOS-10.15' + displayName: 'MacOS 10.15 x86-64 ImGui GL2' + steps: + - script: | + sudo xcode-select -s /Applications/Xcode_12.3.app + displayName: 'Setup Xcode' + - script: | + cd /tmp + git clone https://github.com/microsoft/vcpkg + cd vcpkg + git remote add milek https://github.com/Milek7/vcpkg + git fetch milek + git checkout c0020eb4 + ./bootstrap-vcpkg.sh + ./vcpkg install glfw3:x64-osx libpng:x64-osx libsndfile:x64-osx asio:x64-osx + git cherry-pick 9b7f342 + git cherry-pick f1b4a0e + MACOSX_DEPLOYMENT_TARGET="10.12" ./vcpkg install luajit:x64-osx + displayName: 'Install dependencies' + - script: | + mkdir build + cd build + cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_TOOLCHAIN_FILE=/tmp/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-osx -DWITH_ZMQ=OFF -DWITH_OPENVR=OFF -DWITH_UART=OFF -DUSE_IMGUI_GL3=OFF + cmake --build . + displayName: 'Build' + - task: PublishBuildArtifacts@1 + inputs: + pathtoPublish: 'build/bin' + artifactName: binaries_macos_imgui_gl2 + displayName: 'Publish binaries' + - job: macos11_arm64 pool: vmImage: 'macOS-10.15'