parent
28e74281ca
commit
052cc34591
|
@ -98,17 +98,10 @@ jobs:
|
|||
|
||||
- name: Run AutoBuild_DiyScript.sh
|
||||
run: |
|
||||
#!/bin/bash
|
||||
chmod +x Scripts/AutoBuild_*.sh
|
||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
|
||||
cd openwrt
|
||||
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
|
||||
line=$(grep -n "${X}" .config | cut -d ':' -f1)
|
||||
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
|
||||
echo "ERROR in line ${line}: ${X}"
|
||||
}
|
||||
done
|
||||
make defconfig
|
||||
make defconfig > /dev/null 2>&1
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware-Diy_Main
|
||||
|
|
|
@ -101,17 +101,10 @@ jobs:
|
|||
|
||||
- name: Run AutoBuild_DiyScript.sh
|
||||
run: |
|
||||
#!/bin/bash
|
||||
chmod +x Scripts/AutoBuild_*.sh
|
||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
|
||||
cd openwrt
|
||||
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
|
||||
line=$(grep -n "${X}" .config | cut -d ':' -f1)
|
||||
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
|
||||
echo "ERROR in line ${line}: ${X}"
|
||||
}
|
||||
done
|
||||
make defconfig
|
||||
make defconfig > /dev/null 2>&1
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware-Diy_Main
|
||||
|
|
|
@ -101,17 +101,10 @@ jobs:
|
|||
|
||||
- name: Run AutoBuild_DiyScript.sh
|
||||
run: |
|
||||
#!/bin/bash
|
||||
chmod +x Scripts/AutoBuild_*.sh
|
||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
|
||||
cd openwrt
|
||||
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
|
||||
line=$(grep -n "${X}" .config | cut -d ':' -f1)
|
||||
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
|
||||
echo "ERROR in line ${line}: ${X}"
|
||||
}
|
||||
done
|
||||
make defconfig
|
||||
make defconfig > /dev/null 2>&1
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware-Diy_Main
|
||||
|
|
|
@ -101,17 +101,10 @@ jobs:
|
|||
|
||||
- name: Run AutoBuild_DiyScript.sh
|
||||
run: |
|
||||
#!/bin/bash
|
||||
chmod +x Scripts/AutoBuild_*.sh
|
||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
|
||||
cd openwrt
|
||||
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
|
||||
line=$(grep -n "${X}" .config | cut -d ':' -f1)
|
||||
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
|
||||
echo "ERROR in line ${line}: ${X}"
|
||||
}
|
||||
done
|
||||
make defconfig
|
||||
make defconfig > /dev/null 2>&1
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware-Diy_Main
|
||||
|
|
|
@ -101,17 +101,10 @@ jobs:
|
|||
|
||||
- name: Run AutoBuild_DiyScript.sh
|
||||
run: |
|
||||
#!/bin/bash
|
||||
chmod +x Scripts/AutoBuild_*.sh
|
||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
|
||||
cd openwrt
|
||||
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
|
||||
line=$(grep -n "${X}" .config | cut -d ':' -f1)
|
||||
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
|
||||
echo "ERROR in line ${line}: ${X}"
|
||||
}
|
||||
done
|
||||
make defconfig
|
||||
make defconfig > /dev/null 2>&1
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware-Diy_Main
|
||||
|
|
|
@ -101,17 +101,10 @@ jobs:
|
|||
|
||||
- name: Run AutoBuild_DiyScript.sh
|
||||
run: |
|
||||
#!/bin/bash
|
||||
chmod +x Scripts/AutoBuild_*.sh
|
||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
|
||||
cd openwrt
|
||||
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
|
||||
line=$(grep -n "${X}" .config | cut -d ':' -f1)
|
||||
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
|
||||
echo "ERROR in line ${line}: ${X}"
|
||||
}
|
||||
done
|
||||
make defconfig
|
||||
make defconfig > /dev/null 2>&1
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware-Diy_Main
|
||||
|
|
|
@ -101,17 +101,10 @@ jobs:
|
|||
|
||||
- name: Run AutoBuild_DiyScript.sh
|
||||
run: |
|
||||
#!/bin/bash
|
||||
chmod +x Scripts/AutoBuild_*.sh
|
||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
|
||||
cd openwrt
|
||||
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
|
||||
line=$(grep -n "${X}" .config | cut -d ':' -f1)
|
||||
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
|
||||
echo "ERROR in line ${line}: ${X}"
|
||||
}
|
||||
done
|
||||
make defconfig
|
||||
make defconfig > /dev/null 2>&1
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware-Diy_Main
|
||||
|
|
Loading…
Reference in New Issue