aboutsummaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
blob: ca95b78c5dd64341f4aff14e5e5b654b1ac7d34b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
trigger:
- master

pool:
  vmImage: macOS-10.14

steps:
- script: brew install sdl2 qt@5 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@5);$(brew --prefix libarchive)" -DMACOS_BUNDLE_LIBS=ON -DMACOS_BUILD_DMG=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