Skip to content

Commit 5268101

Browse files
committed
[Java] Try Ubuntu 20.04 for Clang build.
1 parent 4f17650 commit 5268101

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122

123123
cpp-clang-build:
124124
name: C++ Clang ${{ matrix.version }}
125-
runs-on: ubuntu-18.04
125+
runs-on: ubuntu-20.04
126126
strategy:
127127
fail-fast: false
128128
matrix:
@@ -148,6 +148,7 @@ jobs:
148148
- name: Install compiler
149149
run: |
150150
curl -L https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
151+
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-${{ matrix.version }} main"
151152
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-${{ matrix.version }} main"
152153
sudo apt-get update
153154
sudo apt-get install -y clang-${{ matrix.version }} libsparsehash-dev

0 commit comments

Comments
 (0)