Skip to content

Commit

Permalink
Update X86-OpenWrt.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
veik327 authored Oct 9, 2023
1 parent bd59609 commit 5bacb26
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/X86-OpenWrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,7 @@ jobs:
steps:
- name: Show system
run: |
echo -e "Total CPU cores\t: $(nproc)"
cat /proc/cpuinfo | grep 'model name'
cpu_name=$(cat /proc/cpuinfo | grep "model name" | head -n 1 | awk -F: '{print $2}' | sed 's/^[ \t]*//')
if [[ ! "$cpu_name" =~ "8370C" ]]; then
echo "CPU不为8370C,性能不足,停止执行命令"
exit 1
else
echo "CPU为8370C,继续执行命令"
ulimit -a
fi
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
Expand Down

0 comments on commit 5bacb26

Please sign in to comment.