Skip to content

Commit

Permalink
Update genv2config.lua
Browse files Browse the repository at this point in the history
Update feeds.conf.default

build

build

Create ccpp.yml

Delete ccpp.yml

Update openwrt-ci.yml

Rename feeds.conf.default to feeds.conf.default.bak

Update and rename feeds.conf.default.bak to feeds.conf.default

Update feeds.conf.default

Add files via upload

Update neo2.yml

add r1s support

Create r1s.yml

Update r1s.yml

Update r1s.yml

add r1s support(fix)

Update r1s.yml

Update r1s.yml

Update cortex-a53.mk

Update r1s.yml

Update cortex-a53.mk

Update neo2.yml

Update r1s.yml

Update neo2.yml

Update neo2.yml

Update neo2.yml

Update neo2.yml

Update r1s.yml

Update neo2.yml

Update r1s.yml

Revert "add r1s support(fix)"

This reverts commit 84842ba.

Revert "add r1s support"

This reverts commit 610f443.

Update r1s.yml

Update r1s.yml

Create x86_64.config.seed

Add files via upload

Update x86_64.config.seed

Update neo2.yml

Update x86_64.config.seed

Update neo2.yml

Update r1s.yml

Update neo2.yml

Update r1s.yml

Update neo2.yml

Update r1s.yml

Update neo2.yml

Update neo2.yml

Update r1s.yml

Update x86_64.yml

Update x86_64.config.seed

Update x86_64.yml

Update x86_64.config.seed

Update x86_64.yml

Update x86_64.config.seed

Update x86_64.yml

Update x86_64.config.seed

Update x86_64.config.seed

Update x86_64.config.seed

Update x86_64.yml

Update x86_64.config.seed

Update x86_64.yml

Update neo2.yml

new fixes

new fix

Create pull.yml

Update r1s.config.seed

Create merge_upstream.yml

Update merge_upstream.yml

Update merge_upstream.yml

Update merge_upstream.yml

Update merge_upstream.yml

Update x86_64.config.seed

Update merge_upstream.yml

Update x86_64.config.seed

Update x86_64.yml

Update x86_64.config.seed

Update r1s.config.seed

Update merge_upstream.yml

Update r1s.config.seed

Update neo2.yml

Update merge_upstream.yml

Update openwrt-ci.yml

Delete r1s.config.seed

Update openwrt-ci.yml

Update openwrt-ci.yml

Update x86_64.yml

Update r1s.yml

Update neo2.yml

Update x86_64.yml

Update black.list

Update white.list

Update shadowsocksr

Update x86_64.yml

Update x86_64.yml

Update x86_64.yml

Update openwrt-ci.yml

Update neo2.yml

Update r1s.yml

Update and rename x86_64.config.seed to rpi4b.config.seed

Update and rename x86_64.yml to rpi4b.yml

Update rpi4b.config.seed

Update rpi4b.config.seed

Update config-4.14

Add files via upload

Update rpi4b.yml

Update rpi4b.config.seed

Add files via upload

Update enable_autocore.diff

Add files via upload

Update rpi4b.config.seed

Update rpi4b.config.seed

Update enable_autocore.diff

Update config-4.19

Delete r1s.yml

Update rpi4b.yml

Update openwrt-ci.yml
  • Loading branch information
johndoe12312 authored and stupidloud committed Mar 28, 2020
1 parent bea3836 commit cb8fc7c
Show file tree
Hide file tree
Showing 15 changed files with 629 additions and 58 deletions.
5 changes: 5 additions & 0 deletions .github/pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: "1"
rules:
- base: master
upstream: coolsnowwolf:master # change `wei` to the owner of upstream repo
mergeMethod: rebase
46 changes: 46 additions & 0 deletions .github/workflows/merge_upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#
# This is free software, lisence use MIT.
#
# Copyright (C) 2019 KFERMercer <[email protected]>
#
# <https://github.com/KFERMercer/OpenWrt-CI>
#

name: Merge-upstream

on:
schedule:
- cron: '10 */8 * * *'
watch:
types:
- 'started'

jobs:
merge:

runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@master
with:
ref: master
fetch-depth: 0
lfs: true

- name: Set git identity
run : |
git config --global user.email "[email protected]"
git config --global user.name "klever1988"
- name: Load upstream commits
run: |
git remote add upstream https://github.com/coolsnowwolf/lede
git fetch upstream
git rebase upstream/master
- name: Push Commits
env:
DOWNSTREAM_BRANCH: master
run: git push --force-with-lease origin $DOWNSTREAM_BRANCH
181 changes: 181 additions & 0 deletions .github/workflows/neo2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
name: nanopi neo2旁路由

on:
schedule:
- cron: 0 9 * * *
push:
paths:
- '.github/workflows/neo2.yml_'

jobs:

build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@master
with:
ref: master

- name: Space cleanup
env:
DEBIAN_FRONTEND: noninteractive
run: |
docker rmi `docker images -q`
sudo rm -rf /etc/apt/sources.list.d
sudo -E apt-get update
sudo -E apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk
df -h
- name: Update feeds
run: |
#git clone https://github.com/rosywrt/luci
#mv luci/themes/luci-theme-rosy package/lean/
#rm -rf luci/
#sed -i 's/..\/..\/luci.mk/$(TOPDIR)\/feeds\/luci\/luci.mk/' package/lean/luci-theme-rosy/Makefile
git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git
rm -rf package/lean/luci-theme-argon && mv luci-theme-argon package/lean/
./scripts/feeds update -a
./scripts/feeds install -a
- name: Costom configure file
run: |
rm -f ./.config*
touch ./.config
# 编译neo2固件:
cat >> .config <<EOF
CONFIG_TARGET_sunxi=y
CONFIG_TARGET_sunxi_cortexa53=y
CONFIG_TARGET_sunxi_cortexa53_DEVICE_friendlyarm_nanopi-neo2=y
EOF
# 固件压缩:
cat >> .config <<EOF
CONFIG_TARGET_IMAGES_GZIP=y
EOF
# 编译UEFI固件:
# cat >> .config <<EOF
# CONFIG_EFI_IMAGES=y
# EOF
# IPv6支持:
cat >> .config <<EOF
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
CONFIG_PACKAGE_ipv6helper=y
# CONFIG_FEED_rosy is not set
EOF
# 多文件系统支持:
# cat >> .config <<EOF
# CONFIG_PACKAGE_kmod-fs-nfs=y
# CONFIG_PACKAGE_kmod-fs-nfs-common=y
# CONFIG_PACKAGE_kmod-fs-nfs-v3=y
# CONFIG_PACKAGE_kmod-fs-nfs-v4=y
# CONFIG_PACKAGE_kmod-fs-ntfs=y
# CONFIG_PACKAGE_kmod-fs-squashfs=y
# EOF
# USB3.0支持:
# cat >> .config <<EOF
# CONFIG_PACKAGE_kmod-usb-ohci=y
# CONFIG_PACKAGE_kmod-usb-ohci-pci=y
# CONFIG_PACKAGE_kmod-usb2=y
# CONFIG_PACKAGE_kmod-usb2-pci=y
# CONFIG_PACKAGE_kmod-usb3=y
# EOF
# 常用LuCI插件选择:
cat >> .config <<EOF
CONFIG_PACKAGE_luci-app-adbyby-plus=y
CONFIG_PACKAGE_luci-app-samba=y
CONFIG_PACKAGE_luci-app-statistics=y
CONFIG_PACKAGE_luci-app-unblockmusic=y
CONFIG_PACKAGE_luci-app-vnstat=y
# CONFIG_PACKAGE_luci-app-aria2=y
# CONFIG_PACKAGE_luci-app-baidupcs-web=y
# CONFIG_PACKAGE_luci-app-docker=y
# CONFIG_PACKAGE_luci-app-frpc=y
# CONFIG_PACKAGE_luci-app-hd-idle=y
# CONFIG_PACKAGE_luci-app-kodexplorer=y
# CONFIG_PACKAGE_luci-app-minidlna=y
# CONFIG_PACKAGE_luci-app-openvpn=y
# CONFIG_PACKAGE_luci-app-openvpn-server=y
# CONFIG_PACKAGE_luci-app-qbittorrent=y
# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y
CONFIG_PACKAGE_luci-app-ttyd=y
# CONFIG_PACKAGE_luci-app-verysync=y
# CONFIG_PACKAGE_luci-app-webadmin=y
# CONFIG_PACKAGE_luci-app-wireguard=y
CONFIG_PACKAGE_luci-app-wrtbwmon=y
CONFIG_PACKAGE_luci-app-netdata=y
EOF
# LuCI主题:
cat >> .config <<EOF
CONFIG_PACKAGE_luci-theme-argon=y
CONFIG_PACKAGE_luci-theme-netgear=y
CONFIG_PACKAGE_luci-theme-rosy=y
EOF
# 常用软件包:
cat >> .config <<EOF
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_htop=y
CONFIG_PACKAGE_nano=y
CONFIG_PACKAGE_screen=y
CONFIG_PACKAGE_tree=y
CONFIG_PACKAGE_vim-fuller=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_collectd-mod-ping=y
CONFIG_PACKAGE_collectd-mod-thermal=y
CONFIG_PACKAGE_collectd-mod-cpufreq=y
CONFIG_PACKAGE_openssl-util=y
CONFIG_PACKAGE_libnettle=y
# CONFIG_PACKAGE_libopenssl-devcrypto is not set
EOF
# 取消编译VMware镜像以及镜像填充 (不要删除被缩进的注释符号):
cat >> .config <<EOF
# CONFIG_TARGET_IMAGES_PAD is not set
# CONFIG_VMDK_IMAGES is not set
EOF
sed -i 's/^[ \t]*//g' ./.config
make defconfig
- name: Make download
run: |
make download -j8
find dl -size -1024c -exec rm -f {} \;
- name: Compile firmware
run: |
make -j$(($(nproc) + 1)) -s || make -j1 V=s
echo "======================="
echo "Space usage:"
echo "======================="
df -h
echo "======================="
du -h --max-depth=1 ./ --exclude=build_dir --exclude=bin
du -h --max-depth=1 ./build_dir
du -h --max-depth=1 ./bin
- name: Prepare artifact
run: find ./bin/targets/ -type d -name "packages" | xargs rm -rf {}

- name: Upload artifact
uses: actions/upload-artifact@master
with:
name: OpenWrt firmware
path: ./bin/targets/
Loading

0 comments on commit cb8fc7c

Please sign in to comment.