Skip to content

Commit f0edede

Browse files
committed
[pytest.yml] bump clang to v12 and ubuntu to 20.04
1 parent 8f07af2 commit f0edede

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/pytest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: [push, pull_request]
66
jobs:
77
Pytest:
88
# The type of runner that the job will run on
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-20.04
1010
strategy:
1111
matrix:
1212
python-version: [3.6, 3.7, 3.8, 3.9]
@@ -34,12 +34,12 @@ jobs:
3434
- name: Add llvm keys
3535
run: |
3636
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
37-
echo 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main' | sudo tee -a /etc/apt/sources.list
38-
echo 'deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main' | sudo tee -a /etc/apt/sources.list
37+
echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' | sudo tee -a /etc/apt/sources.list
38+
echo 'deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' | sudo tee -a /etc/apt/sources.list
3939
- name: Install libclang and its python bindings
4040
run: |
4141
sudo apt-get update
42-
sudo apt-get install -y libclang-11-dev python3-clang-11
42+
sudo apt-get install -y libclang-12-dev python3-clang-12
4343
4444
# Add dist-package to path to enable apt installed python3-clang import
4545
- name: Add dist-packages to PYTHONPATH

0 commit comments

Comments
 (0)