@@ -36,7 +36,7 @@ build_linux:
3636 artifacts :
3737 paths :
3838 - Keyboard_Visualizer-x86_64.AppImage
39- expire_in : 1337 years
39+ expire_in : 30 days
4040
4141# -----------------------------------------------------------------------#
4242# Windows (32-bit) Build Target #
@@ -108,7 +108,7 @@ build_windows_32:
108108 artifacts :
109109 paths :
110110 - _build/*.7z
111- expire_in : 1337 years
111+ expire_in : 30 days
112112
113113# -----------------------------------------------------------------------#
114114# Windows (64-bit) Build Target #
@@ -180,4 +180,49 @@ build_windows_64:
180180 artifacts :
181181 paths :
182182 - _build/*.7z
183- expire_in : 1337 years
183+ expire_in : 30 days
184+
185+ # -----------------------------------------------------------------------#
186+ # MacOS Build Target #
187+ # -----------------------------------------------------------------------#
188+ build_macos_arm64 :
189+ tags :
190+ - macos
191+ stage : build
192+ script :
193+ - eval $(/opt/homebrew/bin/brew shellenv)
194+ - qmake KeyboardVisualizer.pro
195+ - make -j16
196+ - macdeployqt KeyboardVisualizer.app -codesign=OpenRGB
197+
198+ artifacts :
199+ paths :
200+ - KeyboardVisualizer.app
201+ expire_in : 30 days
202+
203+ rules :
204+ - if : ' $CI_PROJECT_PATH == "CalcProgrammer1/KeyboardVisualizer"'
205+ when : on_success
206+ - if : ' $BUILD_MACOS =~ /.+/'
207+ when : on_success
208+
209+ build_macos_intel :
210+ tags :
211+ - macos
212+ stage : build
213+ script :
214+ - eval $(/usr/local/bin/brew shellenv)
215+ - arch -x86_64 /usr/local/bin/qmake KeyboardVisualizer.pro
216+ - arch -x86_64 make -j16
217+ - arch -x86_64 macdeployqt KeyboardVisualizer.app -codesign=OpenRGB
218+
219+ artifacts :
220+ paths :
221+ - KeyboardVisualizer.app
222+ expire_in : 30 days
223+
224+ rules :
225+ - if : ' $CI_PROJECT_PATH == "CalcProgrammer1/KeyboardVisualizer"'
226+ when : on_success
227+ - if : ' $BUILD_MACOS =~ /.+/'
228+ when : on_success
0 commit comments