From: Alexander Popov Date: Mon, 30 Mar 2020 12:04:26 +0000 (+0300) Subject: Check all configs automatically X-Git-Tag: v0.5.7~40 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f4bb0da015acb1f6306357e6d8810dc816ed1c82;hp=a11d573cf5ddefd51d9ce7f2da1de0fc1944016a;p=kconfig-hardened-check.git Check all configs automatically --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94659a2..379de5e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 <<<<<"