/
githubmirror
/
fwupd
Обзор
Документация
Войти
/
githubmirror
/
fwupd
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/static-analysis.yml
65 строк
2 KB
Peter Hutterer
ci: run apt-get update before trying to install dependencies
03 авг 2026, 10:06
03 авг 2026, 10:06
59ec1b4
Код
Авторство
О чём код?
on: workflow_call permissions: contents: read env: PYTHONWARNINGS: "ignore::DeprecationWarning:gi.events" jobs: clang-tidy: runs-on: ubuntu-latest container: image: ghcr.io/fwupd/fwupd/fwupd-ubuntu-amd64:latest # zizmor: ignore[unpinned-images] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: install dependencies env: DEBIAN_FRONTEND: noninteractive run: |- apt-get update -qq apt-get install -qq --yes --no-install-recommends clang-tidy - name: ensure up-to-date dependencies are installed run: |- ./contrib/ci/fwupd_setup_helpers.py install-dependencies -o ubuntu --yes - name: configure run: |- meson setup -Dwerror=true build - name: build run: |- ninja -C build - name: clang-tidy run: |- ninja -C build clang-tidy gcc: runs-on: ubuntu-latest container: image: ghcr.io/fwupd/fwupd/fwupd-debian-amd64:latest # zizmor: ignore[unpinned-images] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: ensure up-to-date dependencies are installed run: |- apt-get update -qq ./contrib/ci/fwupd_setup_helpers.py install-dependencies -o debian --yes - name: configure run: |- meson setup -Dwerror=true -Dstatic_analysis=true build - name: build with `-fanalyzer` run: |- ninja -C build gobject-linter: runs-on: ubuntu-latest container: image: ghcr.io/bilelmoussaoui/gobject-linter:latest # zizmor: ignore[unpinned-images] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: run gobject-linter run: gobject-linter