From 5ab92d8e71a13a6b81ad7a5b7d635f8af8e5c31d Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 28 Feb 2023 10:11:29 -0500 Subject: gitlab-ci: add pre-build and post-build steps to macOS Apply the approach from commit 372ce5bffe (ci: add pre-build and post-build steps to Linux, 2022-12-05, v3.26.0-rc1~225^2~1) to build jobs on macOS. --- .gitlab/os-macos.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitlab') diff --git a/.gitlab/os-macos.yml b/.gitlab/os-macos.yml index 9cdc8d49cf..ff77e1d2b3 100644 --- a/.gitlab/os-macos.yml +++ b/.gitlab/os-macos.yml @@ -154,8 +154,10 @@ # Allow the server to already be running. - "sccache --start-server || :" - sccache --show-stats + - .gitlab/ci/pre_build.sh - ctest -VV -S .gitlab/ci/ctest_configure.cmake - ctest -VV -S .gitlab/ci/ctest_build.cmake + - .gitlab/ci/post_build.sh - sccache --show-stats interruptible: true -- cgit v1.2.1