File tree Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Original file line number Diff line number Diff line change 18
18
matrix :
19
19
build-type : [Debug, Release]
20
20
enable-coverage : [false, true]
21
- include :
21
+ exclude :
22
22
- build-type : Debug
23
- enable-coverage : false
24
- - build-type : Release
25
- enable-coverage : false
26
- - build-type : Release
27
23
enable-coverage : true
28
24
29
25
steps :
@@ -135,23 +131,6 @@ jobs:
135
131
136
132
- name : Configure and build
137
133
run : |
138
- # Find the Homebrew prefix again for this step
139
- if [ -d /opt/homebrew ]; then
140
- BREW_PREFIX=/opt/homebrew
141
- else
142
- BREW_PREFIX=/usr/local
143
- fi
144
- export LDFLAGS="-L$BREW_PREFIX/lib"
145
- export CPPFLAGS="-I$BREW_PREFIX/include"
146
- export PKG_CONFIG_PATH="$BREW_PREFIX/lib/pkgconfig"
147
- export CMAKE_PREFIX_PATH="$BREW_PREFIX"
148
- export GMP_HOME="$BREW_PREFIX"
149
- echo "Environment variables for build:"
150
- echo "LDFLAGS=$LDFLAGS"
151
- echo "CPPFLAGS=$CPPFLAGS"
152
- echo "CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH"
153
- echo "GMP_HOME=$GMP_HOME"
154
- export LD_LIBRARY_PATH=/usr/local/lib/:${LD_LIBRARY_PATH}
155
134
mkdir -p build
156
135
cd build
157
136
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$BREW_PREFIX ..
You can’t perform that action at this time.
0 commit comments