12 runs-on: ubuntu-latest
18 python-version: [3.6, 3.7, 3.8]
19 # github runner with python 3.5 currently fails to install this package
23 # - uses: actions/checkout@v2
25 - name: Set up Python ${{ matrix.python-version }}
26 uses: actions/setup-python@v1
28 python-version: ${{ matrix.python-version }}
32 python -m pip install --upgrade pip
33 pip --verbose install git+https://github.com/a13xp0p0v/kconfig-hardened-check
37 kconfig-hardened-check
39 - name: Check all configs
41 echo ">>>>> check all configs <<<<<"
42 CONFIG_DIR=`find /opt/hostedtoolcache/Python/ -name config_files`
43 CONFIGS=`find $CONFIG_DIR -type f|grep "\.config"`
47 COUNT=$(expr $COUNT + 1)
48 echo -e "\n>>>>> checking config number $COUNT <<<<<"
49 kconfig-hardened-check -c $C || exit
51 echo -e "\n>>>>> checking $COUNT configs is done <<<<<"