File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 3535 library_type : [ Static ]
3636 include :
3737 - 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
4040
4141 runs-on : ${{matrix.os}}
4242 steps :
4545 - name : Create Build Environment
4646 if : matrix.compiler.tool != 'apple-clang'
4747 run : |
48- brew update &&
48+ brew upgrade &&
4949 brew install ${{matrix.compiler.tool}}@${{matrix.compiler.ver}} ninja
5050 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 : |
5161 echo "CXX=${{matrix.cxx}}" >> $GITHUB_ENV
5262 echo "CC=${{matrix.cc}}" >> $GITHUB_ENV
5363
You can’t perform that action at this time.
0 commit comments