X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=.github%2Fworkflows%2Fmain.yml;h=69ae4eb39395297cd730283ca24687370311bced;hb=c7b604c4e0267bf30bbbc8c9db78afcd516f138e;hp=94659a233ba6efae037f042bfc8d73fcad22974c;hpb=c3dc7cf5daa01095eaa8fed377a69a29d05ab402;p=kconfig-hardened-check.git diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94659a2..69ae4eb 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,22 @@ 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"` + COUNT=0 + for C in $CONFIGS + do + COUNT=$(expr $COUNT + 1) + echo -e "\n>>>>> checking config number $COUNT <<<<<" + kconfig-hardened-check -c $C || exit + done + echo -e "\n>>>>> checking $COUNT configs is done <<<<<"