2021-03-15 12:28:56 -06:00
|
|
|
trigger:
|
|
|
|
- master
|
|
|
|
|
|
|
|
pool:
|
2021-12-28 07:20:50 -07:00
|
|
|
vmImage: macOS-10.15
|
2021-03-15 12:28:56 -06:00
|
|
|
|
|
|
|
steps:
|
2021-07-25 12:59:59 -06:00
|
|
|
- script: brew install llvm sdl2 qt@6 libslirp libarchive libepoxy
|
2021-04-24 07:27:11 -06:00
|
|
|
displayName: 'Install dependencies'
|
|
|
|
|
|
|
|
- script: mkdir $(Pipeline.Workspace)/build
|
|
|
|
displayName: 'Create build environment'
|
|
|
|
|
2021-12-28 07:20:50 -07:00
|
|
|
- script: cmake $(Build.SourcesDirectory) -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH="$(brew --prefix qt@6);$(brew --prefix libarchive)" -DMACOS_BUNDLE_LIBS=ON -DMACOS_BUILD_DMG=ON -DUSE_QT6=ON
|
2021-04-24 07:27:11 -06:00
|
|
|
displayName: 'Configure'
|
|
|
|
workingDirectory: $(Pipeline.Workspace)/build
|
|
|
|
|
|
|
|
- script: make -j$(sysctl -n hw.logicalcpu)
|
|
|
|
displayName: 'Make'
|
|
|
|
workingDirectory: $(Pipeline.Workspace)/build
|
|
|
|
|
|
|
|
- publish: $(Pipeline.Workspace)/build/melonDS.dmg
|
|
|
|
artifact: melonDS.dmg
|
2021-03-15 12:28:56 -06:00
|
|
|
|