runs-on: ubuntu-latest
strategy:
- max-parallel: 3
+ max-parallel: 1
fail-fast: false
matrix:
# Current ubuntu-latest (Ubuntu 22.04) provides the following versions of Python:
- name: Check all configs with the installed tool
run: |
echo "Check all configs with the installed tool..."
+ sysctl -a > /tmp/sysctls
CONFIG_DIR=`find /opt/hostedtoolcache/Python/ -name config_files`
KCONFIGS=`find $CONFIG_DIR -type f | grep -e "\.config" -e "\.gz"`
COUNT=0
do
COUNT=$(expr $COUNT + 1)
echo -e "\n>>>>> checking kconfig number $COUNT <<<<<"
- kconfig-hardened-check -c $C -l /proc/cmdline
+ kconfig-hardened-check -c $C -l /proc/cmdline -s /tmp/sysctls
done
echo -e "\nHave checked $COUNT kconfigs"