mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-24 16:40:21 +00:00
CI: Run the clang plugins during PR workflows
This commit is contained in:
parent
953318e372
commit
0dd8fe1f0f
Notes:
github-actions[bot]
2024-08-27 23:25:32 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/0dd8fe1f0f5 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1207
2 changed files with 16 additions and 24 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -15,17 +15,28 @@ jobs:
|
|||
matrix:
|
||||
os_name: ['Linux']
|
||||
os: [ubuntu-22.04]
|
||||
fuzzer: ['NO_FUZZ', 'FUZZ']
|
||||
toolchain: ['Clang']
|
||||
fuzzer: ['NO_FUZZ']
|
||||
toolchain: ['GNU']
|
||||
clang_plugins: [false]
|
||||
|
||||
include:
|
||||
- os_name: 'Linux'
|
||||
os: ubuntu-22.04
|
||||
fuzzer: 'NO_FUZZ'
|
||||
toolchain: 'Clang'
|
||||
clang_plugins: true
|
||||
|
||||
- os_name: 'macOS'
|
||||
os: macos-14
|
||||
fuzzer: 'NO_FUZZ'
|
||||
toolchain: 'Clang'
|
||||
clang_plugins: false
|
||||
|
||||
- os_name: 'Linux'
|
||||
os: ubuntu-22.04
|
||||
fuzzer: 'NO_FUZZ'
|
||||
toolchain: 'GNU'
|
||||
fuzzer: 'FUZZ'
|
||||
toolchain: 'Clang'
|
||||
clang_plugins: false
|
||||
|
||||
uses: ./.github/workflows/lagom-template.yml
|
||||
with:
|
||||
|
@ -33,3 +44,4 @@ jobs:
|
|||
os_name: ${{ matrix.os_name }}
|
||||
os: ${{ matrix.os }}
|
||||
fuzzer: ${{ matrix.fuzzer }}
|
||||
clang_plugins: ${{ matrix.clang_plugins }}
|
||||
|
|
20
.github/workflows/clang-plugins.yml
vendored
20
.github/workflows/clang-plugins.yml
vendored
|
@ -1,20 +0,0 @@
|
|||
name: Validate code with clang plugins
|
||||
|
||||
# FIXME: The plugins seem to make this build uncacheable by ccache. We should figure that out and enable this job on PRs.
|
||||
# Perhaps with https://ccache.dev/manual/latest.html#config_compiler_check, which mentions plugins.
|
||||
on: [push]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-and-verify:
|
||||
if: always() && github.repository == 'LadybirdBrowser/ladybird' && github.ref == 'refs/heads/master'
|
||||
|
||||
uses: ./.github/workflows/lagom-template.yml
|
||||
with:
|
||||
toolchain: 'Clang'
|
||||
os_name: 'Linux'
|
||||
os: 'ubuntu-22.04'
|
||||
clang_plugins: true
|
Loading…
Reference in a new issue