Skip to content

Commit b2bb581

Browse files
svenvhdbudanov-cmplr
authored andcommitted
Upgrade to Ubuntu 20.04
The Ubuntu 18.04 image is marked deprecated [1], so move to a newer image. [1] https://github.com/actions/runner-images Original commit: KhronosGroup/SPIRV-LLVM-Translator@20a1fd7
1 parent 56c79d8 commit b2bb581

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

llvm-spirv/.github/workflows/check-code-style.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ env:
2929
jobs:
3030
clang-format-and-tidy:
3131
name: clang-format & clang-tidy
32-
runs-on: ubuntu-18.04
32+
runs-on: ubuntu-20.04
3333
steps:
3434
- name: Checkout sources
3535
uses: actions/checkout@v2
@@ -64,7 +64,7 @@ jobs:
6464
# launched, so, we need to setup llvm package to perform cmake
6565
# configuration step to generate that database
6666
curl -L "https://apt.llvm.org/llvm-snapshot.gpg.key" | sudo apt-key add -
67-
echo "deb https://apt.llvm.org/bionic/ llvm-toolchain-bionic main" | sudo tee -a /etc/apt/sources.list
67+
echo "deb https://apt.llvm.org/focal/ llvm-toolchain-focal main" | sudo tee -a /etc/apt/sources.list
6868
sudo apt-get update
6969
sudo apt-get install -yqq \
7070
clang-format-${{ env.LLVM_VERSION }} clang-tidy-${{ env.LLVM_VERSION }} \

llvm-spirv/.github/workflows/check-in-tree-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ jobs:
4545
- build_type: Release
4646
shared_libs: EnableSharedLibs
4747
fail-fast: false
48-
runs-on: ubuntu-18.04
48+
runs-on: ubuntu-20.04
4949
steps:
5050
- name: Install dependencies
5151
run: |
5252
curl -L "https://apt.llvm.org/llvm-snapshot.gpg.key" | sudo apt-key add -
5353
curl -L "https://packages.lunarg.com/lunarg-signing-key-pub.asc" | sudo apt-key add -
54-
echo "deb https://apt.llvm.org/bionic/ llvm-toolchain-bionic main" | sudo tee -a /etc/apt/sources.list
55-
echo "deb https://packages.lunarg.com/vulkan bionic main" | sudo tee -a /etc/apt/sources.list
54+
echo "deb https://apt.llvm.org/focal/ llvm-toolchain-focal main" | sudo tee -a /etc/apt/sources.list
55+
echo "deb https://packages.lunarg.com/vulkan focal main" | sudo tee -a /etc/apt/sources.list
5656
sudo apt-get update
5757
sudo apt-get -yq --no-install-suggests --no-install-recommends install \
5858
clang-${{ env.LLVM_VERSION }} \

llvm-spirv/.github/workflows/check-out-of-tree-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ jobs:
3838
matrix:
3939
build_type: [Release, Debug]
4040
fail-fast: false
41-
runs-on: ubuntu-18.04
41+
runs-on: ubuntu-20.04
4242
steps:
4343
- name: Install dependencies
4444
run: |
4545
curl -L "https://apt.llvm.org/llvm-snapshot.gpg.key" | sudo apt-key add -
4646
curl -L "https://packages.lunarg.com/lunarg-signing-key-pub.asc" | sudo apt-key add -
47-
echo "deb https://apt.llvm.org/bionic/ llvm-toolchain-bionic main" | sudo tee -a /etc/apt/sources.list
48-
echo "deb https://packages.lunarg.com/vulkan bionic main" | sudo tee -a /etc/apt/sources.list
47+
echo "deb https://apt.llvm.org/focal/ llvm-toolchain-focal main" | sudo tee -a /etc/apt/sources.list
48+
echo "deb https://packages.lunarg.com/vulkan focal main" | sudo tee -a /etc/apt/sources.list
4949
sudo apt-get update
5050
sudo apt-get -yq --no-install-suggests --no-install-recommends install \
5151
clang-${{ env.LLVM_VERSION }} \

0 commit comments

Comments
 (0)