diff options
author | Arisotura <thetotalworm@gmail.com> | 2021-07-22 21:37:52 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2021-07-22 21:37:52 +0200 |
commit | a09ce44c486c809343b4e8565e0040f7570ada9e (patch) | |
tree | a5e113c75b9398735a6790a6c416cb72d3efba31 /.github/azure-workflows/build-mac-arm64.yml | |
parent | cd4ef575ee6e85e607e9a26a38af9d69d1cc69f3 (diff) | |
parent | 89875204dd4bac1efd321763660ac891e630a32e (diff) |
Merge branch 'master' of https://github.com/Arisotura/melonDS
Diffstat (limited to '.github/azure-workflows/build-mac-arm64.yml')
-rw-r--r-- | .github/azure-workflows/build-mac-arm64.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/azure-workflows/build-mac-arm64.yml b/.github/azure-workflows/build-mac-arm64.yml new file mode 100644 index 0000000..721c6ac --- /dev/null +++ b/.github/azure-workflows/build-mac-arm64.yml @@ -0,0 +1,26 @@ +trigger: +- master + +pool: + name: Default + demands: + - agent.name -equals MacStadium-ARM64-Mac + +workspace: + clean: all + +steps: +- script: mkdir $(Pipeline.Workspace)/build + displayName: 'Create build environment' + +- 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 + displayName: 'Configure' + workingDirectory: $(Pipeline.Workspace)/build + +- script: arch -arm64 make -j$(sysctl -n hw.logicalcpu) + displayName: 'Make' + workingDirectory: $(Pipeline.Workspace)/build + +- publish: $(Pipeline.Workspace)/build/melonDS.dmg + artifact: melonDS.dmg + |