mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
add macos imgui gl2 build to CI
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user