File tree 1 file changed +5
-9
lines changed 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -49,19 +49,15 @@ jobs:
49
49
brew install ${{matrix.compiler.tool}}@${{matrix.compiler.ver}} ninja
50
50
cmake -E make_directory ${{runner.workspace}}/build
51
51
52
- - name : Setup Environment
52
+ - name : Try Setup LLVM Environment
53
53
if : matrix.compiler.tool == 'llvm'
54
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 : |
61
- echo "CXX=${{matrix.cxx}}" >> $GITHUB_ENV
62
- echo "CC=${{matrix.cc}}" >> $GITHUB_ENV
55
+ "PATH=$(brew --prefix llvm@${{matrix.compiler.ver}})/bin:${PATH}" >> $GITHUB_ENV
63
56
64
57
- name : Configure
58
+ env :
59
+ CXX : ${{matrix.cxx}}
60
+ CC : ${{matrix.cc}}
65
61
run : cmake -B ${{runner.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_ALL_TESTS=ON
66
62
67
63
- name : Build
You can’t perform that action at this time.
0 commit comments