diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-13 15:45:37 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-04-17 14:34:48 +0200 |
commit | aecbf876cd0a7894396a2e5034af9d93bf028aa0 (patch) | |
tree | 9b5742ee8e610cd396116eb56aa3fd764a4a8b56 /.gitlab-ci.yml | |
parent | 4a730fa0b08c68fc01f35b79a43fdd72411f2b83 (diff) | |
download | mana-aecbf876cd0a7894396a2e5034af9d93bf028aa0.tar.gz mana-aecbf876cd0a7894396a2e5034af9d93bf028aa0.tar.bz2 mana-aecbf876cd0a7894396a2e5034af9d93bf028aa0.tar.xz mana-aecbf876cd0a7894396a2e5034af9d93bf028aa0.zip |
macOS: Create an app bundle
Also enable using `cpack -G DragNDrop` to create a DMG to easily drag
Mana into the Applications folder.
The DMG is also available as a CI artifact.
The minimum deployment target has been set to 10.15, as required due to
usage of std::filesystem::create_directories.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b2fae39e..10342845 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,3 +49,10 @@ macos-build: script: - cmake -G Ninja -B build . - cmake --build build + - cd build + - cpack -G DragNDrop + - mv Mana-*.dmg .. + artifacts: + name: "macos-dmg-$CI_COMMIT_REF_SLUG" + paths: + - Mana-*.dmg |