Skip to content

Commit d780394

Browse files
authored
Drop about-to-be-removed Ubuntu 20.04 from CI (fixes #282) (#283)
* CI: Drop about-to-be-removed Ubuntu 20.04 CI * CI: Add missing "sudo apt-get update" Also add --no-install-recommends (to install as few as possible additional packages) packages and use apt-get rather than apt because the target is a machine (rather thamn a human).
1 parent dc4ced3 commit d780394

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,6 @@ jobs:
4040
c_compiler: clang
4141
cpp_compiler: clang++
4242
bundled_protobuf: 'OFF'
43-
- os: ubuntu-20.04
44-
build_type: Release
45-
c_compiler: clang-12
46-
cpp_compiler: clang++-12
47-
bundled_protobuf: 'OFF'
48-
- os: ubuntu-20.04
49-
build_type: Debug
50-
c_compiler: clang-12
51-
cpp_compiler: clang++-12
52-
bundled_protobuf: 'OFF'
5343

5444
steps:
5545
- uses: actions/checkout@v3
@@ -67,7 +57,8 @@ jobs:
6757
)
6858
fi
6959
set -x
70-
sudo apt install -y "${ubuntu_packages[@]}"
60+
sudo apt-get update
61+
sudo apt-get install --no-install-recommends -y "${ubuntu_packages[@]}"
7162
7263
- name: Set reusable strings
7364
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.

0 commit comments

Comments
 (0)