File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -101,3 +101,33 @@ jobs:
101101 sudo apt-get install -y g++-${{ matrix.version }}
102102 - name : Build
103103 run : ./cppbuild/cppbuild
104+
105+ clang-build :
106+ name : C++ Clang ${{ matrix.version }}
107+ runs-on : ubuntu-latest
108+ strategy :
109+ matrix :
110+ version : [ 6, 7, 8, 9 ]
111+ env :
112+ CC : clang-${{ matrix.version }}
113+ CXX : clang++-${{ matrix.version }}
114+ steps :
115+ - name : Checkout code
116+ uses : actions/checkout@v2
117+ - name : Cache Gradle dependencies
118+ uses : actions/cache@v1
119+ with :
120+ path : ~/.gradle/caches
121+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
122+ restore-keys : |
123+ ${{ runner.os }}-gradle-
124+ - name : Cache Gradle wrappers
125+ uses : actions/cache@v1
126+ with :
127+ path : ~/.gradle/wrapper
128+ key : ${{ runner.os }}-gradle-wrapper
129+ - name : Install compiler
130+ run : |
131+ sudo apt-get install -y clang-${{ matrix.version }}
132+ - name : Build
133+ run : ./cppbuild/cppbuild
You can’t perform that action at this time.
0 commit comments