projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a11d573
)
Check all configs automatically
author
Alexander Popov
<alex.popov@linux.com>
Mon, 30 Mar 2020 12:04:26 +0000
(15:04 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Mon, 30 Mar 2020 12:58:58 +0000
(15:58 +0300)
.github/workflows/main.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/main.yml
b/.github/workflows/main.yml
index 94659a233ba6efae037f042bfc8d73fcad22974c..379de5e49da57053be24cd2db333e3ecda19283b 100644
(file)
--- a/
.github/workflows/main.yml
+++ b/
.github/workflows/main.yml
@@
-20,7
+20,7
@@
jobs:
steps:
steps:
-
- uses: actions/checkout@v2
+
#
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
@@
-30,12
+30,20
@@
jobs:
- name: Install
run: |
python -m pip install --upgrade pip
- name: Install
run: |
python -m pip install --upgrade pip
- pip install setuptools
- python ./setup.py install
+ pip --verbose install git+https://github.com/a13xp0p0v/kconfig-hardened-check
- name: Try
run: |
- name: Try
run: |
- set -x
kconfig-hardened-check
kconfig-hardened-check
- echo $?
+ - name: Check all configs
+ run: |
+ echo ">>>>> check all configs <<<<<"
+ CONFIG_DIR=`find /opt/hostedtoolcache/Python/ -name config_files`
+ CONFIGS=`find $CONFIG_DIR -type f|grep "\.config"`
+ for C in $CONFIGS
+ do
+ echo -e "\n>>>>> checking $C <<<<<"
+ kconfig-hardened-check -c $C || exit
+ done
+ echo -e "\n>>>>> checking done <<<<<"