melonDS/.github/azure-workflows/build-mac-arm64.yml

27 lines
716 B
YAML
Raw Normal View History

2021-07-22 13:10:21 +00:00
trigger:
- master
pool:
name: Default
demands:
- agent.name -equals MacStadium-ARM64-Mac
2021-07-22 13:32:06 +00:00
workspace:
clean: all
2021-07-22 13:10:21 +00:00
steps:
2021-07-22 13:32:06 +00:00
- script: mkdir $(Pipeline.Workspace)/build
2021-07-22 13:10:21 +00:00
displayName: 'Create build environment'
2021-07-22 13:18:52 +00:00
- script: arch -arm64 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-07-22 13:10:21 +00:00
displayName: 'Configure'
workingDirectory: $(Pipeline.Workspace)/build
2021-07-22 13:18:52 +00:00
- script: arch -arm64 make -j$(sysctl -n hw.logicalcpu)
2021-07-22 13:10:21 +00:00
displayName: 'Make'
workingDirectory: $(Pipeline.Workspace)/build
- publish: $(Pipeline.Workspace)/build/melonDS.dmg
artifact: melonDS.dmg