Skip to content

Commit

Permalink
azure-pipeline: run static-analysis on jammy
Browse files Browse the repository at this point in the history
This is inspired by d051ed7 (.github/workflows/main.yml: run
static-analysis on bionic, 2021-02-08) and by ef46584 (ci: update
'static-analysis' to Ubuntu 22.04, 2022-08-23), adapted to the Azure
Pipeline.

When Azure Pipelines' build agents transitioned 'ubuntu-latest' from
18.04 to 20.04, it broke our `static-analysis` job, since Coccinelle
was not madeavailable on Ubuntu focal (it is only available in the
universe suite).

This is not an issue with Ubuntu 22.04, but we will only know whether it
is an issue with 24.04 when _that_ comes out. So let's play it safe and
pin the `static_analysis` job to the latest Ubuntu version that we know
to offer a working Coccinelle package.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
ttaylorr authored and dscho committed Feb 9, 2024

Verified

This commit was signed with the committer’s verified signature.
yuyichao Yichao Yu
1 parent f89636b commit e7164df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -365,7 +365,7 @@ jobs:
displayName: StaticAnalysis
condition: succeeded()
pool:
vmImage: ubuntu-latest
vmImage: ubuntu-22.04
steps:
- bash: |
sudo apt-get update &&

0 comments on commit e7164df

Please sign in to comment.