mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
25 lines
720 B
YAML
25 lines
720 B
YAML
trigger:
|
|
- master
|
|
|
|
pool:
|
|
vmImage: macOS-10.15
|
|
|
|
steps:
|
|
- script: brew install llvm sdl2 qt@6 libslirp libarchive libepoxy
|
|
displayName: 'Install dependencies'
|
|
|
|
- script: mkdir $(Pipeline.Workspace)/build
|
|
displayName: 'Create build environment'
|
|
|
|
- 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
|
|
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
|
|
|