Commit f4bb0da0 by Alexander Popov

Check all configs automatically

parent a11d573c
......@@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v2
# - uses: actions/checkout@v2
- 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
pip install setuptools
python ./setup.py install
pip --verbose install git+https://github.com/a13xp0p0v/kconfig-hardened-check
- name: Try
run: |
set -x
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 <<<<<"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment