steps:
- - uses: actions/checkout@v2
+# - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
- 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 <<<<<"