File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 83
83
84
84
- name : Update CMake
85
85
86
- # TEMPORARILY pin version because 3.26.0-rc1 is failing under macOS:
87
- with :
88
- cmake-version : ' 3.25.2'
89
86
90
87
- name : Cache wheels
91
88
if : runner.os == 'macOS'
@@ -1074,9 +1071,6 @@ jobs:
1074
1071
1075
1072
- name : Update CMake
1076
1073
1077
- # TEMPORARILY pin version because 3.26.0-rc1 is failing under macOS:
1078
- with :
1079
- cmake-version : ' 3.25.2'
1080
1074
1081
1075
- name : Run pip installs
1082
1076
run : |
Original file line number Diff line number Diff line change @@ -36,10 +36,14 @@ endfunction()
36
36
function (_download_catch version destination_dir)
37
37
message (STATUS "Downloading catch v${version} ..." )
38
38
set (url https://github.com/philsquared/Catch/releases/download/v${version} /catch.hpp)
39
- file (DOWNLOAD ${url} "${destination_dir} /catch.hpp" STATUS status )
39
+ file (
40
+ DOWNLOAD ${url} "${destination_dir} /catch.hpp"
41
+ STATUS status
42
+ LOG log )
40
43
list (GET status 0 error)
41
44
if (error)
42
- message (FATAL_ERROR "Could not download ${url} " )
45
+ string (REPLACE "\n " "\n " log " ${log} " )
46
+ message (FATAL_ERROR "Could not download URL:\n " " ${url} \n " "Log:\n " "${log} " )
43
47
endif ()
44
48
set (CATCH_INCLUDE_DIR
45
49
"${destination_dir} "
You can’t perform that action at this time.
0 commit comments