Skip to content

Commit 1c916a7

Browse files
committed
CI: Bump validation host versioning
The CI is now running on Ubuntu 22.04-LTS along with gcc-11 and clang-format-12 .
1 parent c6b59d2 commit 1c916a7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.ci/check-format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
SOURCES=$(find $(git rev-parse --show-toplevel) | egrep "\.(cpp|cc|c|h)\$")
44

5-
CLANG_FORMAT=$(which clang-format-11)
5+
CLANG_FORMAT=$(which clang-format-12)
66
if [ $? -ne 0 ]; then
77
CLANG_FORMAT=$(which clang-format)
88
if [ $? -ne 0 ]; then

.ci/static-analysis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ function do_sparse()
6363

6464
function do_gcc()
6565
{
66-
local GCC=$(which gcc-10)
66+
local GCC=$(which gcc-11)
6767
if [ $? -ne 0 ]; then
68-
echo "[!] gcc-10 is not installed. Failed to run static analysis with GCC." >&2
68+
echo "[!] gcc-11 is not installed. Failed to run static analysis with GCC." >&2
6969
exit 1
7070
fi
7171

.github/workflows/status-check.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ on:
1010

1111
jobs:
1212
validate:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414
steps:
1515
- name: checkout code
1616
uses: actions/[email protected]
1717
- name: validate coding style and functionality
1818
run: |
19-
sudo apt-get install -q -y clang-format-11
19+
sudo apt-get install -q -y clang-format-12
2020
sudo apt-get install -q -y cppcheck
21-
sudo apt-get install -q -y gcc-10
21+
sudo apt-get install -q -y gcc-11
2222
.ci/check-format.sh
2323
.ci/static-analysis.sh
2424
.ci/build-n-run.sh

0 commit comments

Comments
 (0)