summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Donofry <rubberduckie3554@gmail.com>2024-02-17 14:47:30 -0500
committerJoseph Donofry <rubberduckie3554@gmail.com>2024-02-17 14:47:30 -0500
commit31663dbb12ab6751163d052dc72410d1dd3a83a2 (patch)
treec8254f7db5c92c274ff4df8edc0fa227d7b09dd6
parentMerge pull request #1685 from q234rty/master (diff)
downloadnheko-31663dbb12ab6751163d052dc72410d1dd3a83a2.tar.xz
Add apple silicon runner config to gitlab-ci
-rw-r--r--.cirrus.yml2
-rw-r--r--.gitlab-ci.yml17
2 files changed, 18 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index d572917c..00fc4c27 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -12,7 +12,7 @@ task:
   aqt_script:
     - pip3 install aqtinstall
     - mkdir $HOME/Qt
-    - aqt install-qt --outputdir $HOME/qt mac desktop 6 clang_64 -m qtlocation qtimageformats qtmultimedia qtpositioning qtshadertools
+    - aqt install-qt --outputdir $HOME/qt mac desktop 6.6 clang_64 -m qtlocation qtimageformats qtmultimedia qtpositioning qtshadertools
   build_script:
     - export QTPATH=($HOME/qt/6.*/macos/bin)
     - export PATH="$QTPATH:${PATH}"
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b64e1d53..a3289e8f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -259,6 +259,23 @@ build-macos:
       - .hunter/
       - "${CCACHE_DIR}"
 
+build-macos-as:
+  extends: build-macos
+  image: ghcr.io/cirruslabs/macos-ventura-xcode:14.3
+  tags: [macos-tart]
+  before_script:
+    # The following update-reset is a workaround for this issue: https://github.com/Homebrew/homebrew-bundle/issues/1179
+    - brew update-reset
+    - unset HOMEBREW_NO_AUTO_UPDATE
+    - brew bundle --file .ci/macos/Brewfile
+    - pip3 install aqtinstall
+    - mkdir $HOME/Qt
+    - aqt install-qt --outputdir $HOME/qt mac desktop 6.6 clang_64 -m qtlocation qtimageformats qtmultimedia qtpositioning qtshadertools
+  script:
+    - export QTPATH=($HOME/qt/6.*/macos/bin)
+    - export PATH="$QTPATH:${PATH}"
+    - ./.ci/macos/build.sh
+
 codesign-macos:
   stage: sign
   tags: [macos]