Skip to content

Commit 51a277e

Browse files
committed
[Java] Add missing repos for Clang
1 parent 933b02f commit 51a277e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,13 @@ jobs:
128128
key: ${{ runner.os }}-gradle-wrapper
129129
- name: Install compiler
130130
run: |
131+
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main"
132+
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe"
133+
134+
if [ "${{ matrix.version }}" = "9" ]; then
135+
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
136+
fi
137+
131138
sudo apt-get install -y clang-${{ matrix.version }}
132139
- name: Build
133140
run: ./cppbuild/cppbuild

0 commit comments

Comments
 (0)