|
|
|
@ -54,7 +54,6 @@ build-macos: |
|
|
|
|
- brew update |
|
|
|
|
- brew bundle --file=./.ci/macos/Brewfile |
|
|
|
|
script: |
|
|
|
|
- export VERSION=$(git describe) |
|
|
|
|
- export PATH=/usr/local/opt/qt/bin/:${PATH} |
|
|
|
|
- export CMAKE_PREFIX_PATH=/usr/local/opt/qt5 |
|
|
|
|
- cmake -GNinja -H. -Bbuild |
|
|
|
@ -69,11 +68,12 @@ build-macos: |
|
|
|
|
- cmake --build build |
|
|
|
|
after_script: |
|
|
|
|
- ./.ci/macos/deploy.sh |
|
|
|
|
- ./.ci/upload-nightly-gitlab.sh artifacts/nheko-${VERSION}.dmg |
|
|
|
|
- ./.ci/upload-nightly-gitlab.sh artifacts/nheko-${CI_COMMIT_SHORT_SHA}.dmg |
|
|
|
|
artifacts: |
|
|
|
|
paths: |
|
|
|
|
- artifacts/nheko-${VERSION}.dmg |
|
|
|
|
name: nheko-${CI_COMMIT_REF_NAME}-${VERSION}-macos |
|
|
|
|
- artifacts/nheko-${CI_COMMIT_SHORT_SHA}.dmg |
|
|
|
|
name: nheko-${CI_COMMIT_SHORT_SHA}-macos |
|
|
|
|
expose_as: 'macos-dmg' |
|
|
|
|
cache: |
|
|
|
|
key: "${CI_JOB_NAME}" |
|
|
|
|
paths: |
|
|
|
|