File tree 1 file changed +13
-3
lines changed 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 35
35
library_type : [ Static ]
36
36
include :
37
37
- compiler : { tool: llvm }
38
- cxx : /opt/homebrew/opt/llvm/bin/ clang++
39
- cc : /opt/homebrew/opt/llvm/bin/ clang
38
+ cxx : clang++
39
+ cc : clang
40
40
41
41
runs-on : ${{matrix.os}}
42
42
steps :
45
45
- name : Create Build Environment
46
46
if : matrix.compiler.tool != 'apple-clang'
47
47
run : |
48
- brew update &&
48
+ brew upgrade &&
49
49
brew install ${{matrix.compiler.tool}}@${{matrix.compiler.ver}} ninja
50
50
cmake -E make_directory ${{runner.workspace}}/build
51
+
52
+ - name : Setup Environment
53
+ if : matrix.compiler.tool == 'llvm'
54
+ run : |
55
+ echo "CXX=/opt/homebrew/opt/llvm@${{matrix.compiler.ver}}/bin/${{matrix.cxx}}" >> $GITHUB_ENV
56
+ echo "CC=/opt/homebrew/opt/llvm@${{matrix.compiler.ver}}/bin/${{matrix.cc}}" >> $GITHUB_ENV
57
+
58
+ - name : Setup Environment
59
+ if : matrix.compiler.tool == 'gcc'
60
+ run : |
51
61
echo "CXX=${{matrix.cxx}}" >> $GITHUB_ENV
52
62
echo "CC=${{matrix.cc}}" >> $GITHUB_ENV
53
63
You can’t perform that action at this time.
0 commit comments