aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-07-22 14:10:21 +0100
committerWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-07-22 14:10:21 +0100
commita135557bcbdd39b50cc25cbed162bf7046125ead (patch)
tree1e7730151e0fe3f6936ce1729150a5599c4c8edb
parentab48461dc58dd10fe9a7983f8d6ba03c6c3e7c01 (diff)
Add ARM64 Mac CI file
-rw-r--r--.github/azure-workflows/build-mac-arm64.yml23
1 files changed, 23 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..fbcf4b0
--- /dev/null
+++ b/.github/azure-workflows/build-mac-arm64.yml
@@ -0,0 +1,23 @@
+trigger:
+- master
+
+pool:
+ name: Default
+ demands:
+ - agent.name -equals MacStadium-ARM64-Mac
+
+steps:
+- 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
+