diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-09-15 13:34:21 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-09-16 18:03:31 (GMT) |
commit | 8ff3ce730d7a7c89c719caeac4ba7970f35565df (patch) | |
tree | 6c4a3bc35a00330ffde243ab1e26c10d9cfdec20 /.gitlab/os-macos.yml | |
parent | 7d4ec05c6f5b4d7f2b27ded68003eab2d0126199 (diff) | |
download | CMake-8ff3ce730d7a7c89c719caeac4ba7970f35565df.zip CMake-8ff3ce730d7a7c89c719caeac4ba7970f35565df.tar.gz CMake-8ff3ce730d7a7c89c719caeac4ba7970f35565df.tar.bz2 |
gitlab-ci: add a job to make macOS packages
Diffstat (limited to '.gitlab/os-macos.yml')
-rw-r--r-- | .gitlab/os-macos.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.gitlab/os-macos.yml b/.gitlab/os-macos.yml index 9d123ec..de1093d 100644 --- a/.gitlab/os-macos.yml +++ b/.gitlab/os-macos.yml @@ -37,6 +37,14 @@ CTEST_NO_WARNINGS_ALLOWED: 1 CMAKE_GENERATOR: "Unix Makefiles" +.macos_package: + extends: .macos_build + + variables: + CMAKE_CONFIGURATION: macos_package + CTEST_NO_WARNINGS_ALLOWED: 1 + CMake_SKIP_INSTALL: 1 + ### External testing .macos_xcode: @@ -56,6 +64,15 @@ - xcode-11.5 - nonconcurrent +.macos_builder_tags_package: + tags: + - cmake # Since this is a bare runner, pin to a project. + - macos + - shell + - xcode-11.5 + - nonconcurrent + - finder + .macos_builder_ext_tags: tags: - cmake # Since this is a bare runner, pin to a project. @@ -91,6 +108,24 @@ interruptible: true +.cmake_build_macos_package: + stage: package + + script: + - *before_script_macos + - .gitlab/ci/sccache.sh + # Allow the server to already be running. + - "sccache --start-server || :" + - sccache --show-stats + - ctest -VV -S .gitlab/ci/ctest_configure.cmake + - ctest -VV -S .gitlab/ci/ctest_build.cmake + - sccache --show-stats + - cd build + - cpack -G TGZ + - cpack -G DragNDrop + + interruptible: true + .cmake_test_macos: stage: test |