Skip to content

Commit 9fcff87

Browse files
committed
[Java] Use LLVM repos
1 parent de32fe9 commit 9fcff87

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
runs-on: ubuntu-latest
108108
strategy:
109109
matrix:
110-
version: [ 6.0, 7, 8, 9 ]
110+
version: [ '6.0', '7', '8', '9' ]
111111
env:
112112
CC: clang-${{ matrix.version }}
113113
CXX: clang++-${{ matrix.version }}
@@ -128,12 +128,7 @@ 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
131+
sudo add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-${{ matrix.version }} main"
137132
138133
sudo apt-get update
139134

0 commit comments

Comments
 (0)