mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-25 09:41:47 +08:00
1c916a79a9
The CI is now running on Ubuntu 22.04-LTS along with gcc-11 and clang-format-12 .
26 lines
579 B
YAML
26 lines
579 B
YAML
name: status-checks
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: checkout code
|
|
uses: actions/checkout@v3.1.0
|
|
- name: validate coding style and functionality
|
|
run: |
|
|
sudo apt-get install -q -y clang-format-12
|
|
sudo apt-get install -q -y cppcheck
|
|
sudo apt-get install -q -y gcc-11
|
|
.ci/check-format.sh
|
|
.ci/static-analysis.sh
|
|
.ci/build-n-run.sh
|
|
shell: bash
|