mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-27 15:24:45 +00:00
Compare commits
35
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9246effd09 | ||
|
|
9bc8ff1288 | ||
|
|
c3b77b9bd3 | ||
|
|
2b9e22a351 | ||
|
|
13e85ab847 | ||
|
|
b6ca8b944c | ||
|
|
61444d2c11 | ||
|
|
ce4d832d49 | ||
|
|
c6944feabf | ||
|
|
57513cf4f8 | ||
|
|
da8ae4c8ef | ||
|
|
44c434d397 | ||
|
|
762d1ecd06 | ||
|
|
0e31ac6248 | ||
|
|
856ce8b5b5 | ||
|
|
dc6091db1a | ||
|
|
daf9fdc776 | ||
|
|
54f624a756 | ||
|
|
a665e75fa7 | ||
|
|
c62782c5d0 | ||
|
|
8770c61074 | ||
|
|
313bebb686 | ||
|
|
48675fbfc8 | ||
|
|
4e37e8d084 | ||
|
|
732b5f3844 | ||
|
|
d0be16a8cb | ||
|
|
e4a1159b3a | ||
|
|
d24793566c | ||
|
|
a34b742edd | ||
|
|
d5ab5a6b2c | ||
|
|
225c014e56 | ||
|
|
bff723d35c | ||
|
|
c80752ddf7 | ||
|
|
4e0ccaf038 | ||
|
|
5e08d7e060 |
@@ -256,7 +256,7 @@ jobs:
|
|||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -267,7 +267,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -278,7 +278,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -289,7 +289,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -300,7 +300,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -311,7 +311,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -322,7 +322,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -333,7 +333,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|||||||
@@ -80,11 +80,11 @@ jobs:
|
|||||||
- name: Maximize Build Space
|
- name: Maximize Build Space
|
||||||
uses: easimon/maximize-build-space@master
|
uses: easimon/maximize-build-space@master
|
||||||
with:
|
with:
|
||||||
root-reserve-mb: 3500
|
root-reserve-mb: 4096
|
||||||
swap-size-mb: 100
|
swap-size-mb: 512
|
||||||
|
temp-reserve-mb: 1024
|
||||||
remove-dotnet: 'true'
|
remove-dotnet: 'true'
|
||||||
remove-android: 'true'
|
remove-android: 'true'
|
||||||
remove-haskell: 'true'
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
@@ -151,7 +151,7 @@ jobs:
|
|||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
run: |
|
run: |
|
||||||
sudo -E apt-get update
|
sudo -E apt-get update
|
||||||
sudo -E apt-get -y install build-essential cmake asciidoc binutils bzip2 gawk gettext git libncurses5-dev zlib1g-dev patch unzip zlib1g-dev lib32gcc-s1 libc6-dev-i386 subversion flex uglifyjs git gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev xmlto qemu-utils upx-ucl libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons antlr3 gperf intltool genisoimage rsync
|
sudo -E apt-get -y install build-essential cmake binutils bzip2 gawk gettext git libncurses5-dev zlib1g-dev patch unzip zlib1g-dev lib32gcc-s1 libc6-dev-i386 subversion flex uglifyjs git gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev qemu-utils upx-ucl libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons antlr3 gperf intltool genisoimage rsync
|
||||||
sudo -E apt-get -y install llvm clang
|
sudo -E apt-get -y install llvm clang
|
||||||
sudo timedatectl set-timezone "Asia/Shanghai"
|
sudo timedatectl set-timezone "Asia/Shanghai"
|
||||||
sudo mkdir -p /workdir
|
sudo mkdir -p /workdir
|
||||||
@@ -180,7 +180,7 @@ jobs:
|
|||||||
./scripts/feeds uninstall luci-theme-argon
|
./scripts/feeds uninstall luci-theme-argon
|
||||||
# Update golang to 1.22 for xray-core build
|
# Update golang to 1.22 for xray-core build
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
git clone https://github.com/sbwml/packages_lang_golang -b 25.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 26.x feeds/packages/lang/golang
|
||||||
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
||||||
#fix dockerd bug
|
#fix dockerd bug
|
||||||
|
|
||||||
@@ -212,12 +212,18 @@ jobs:
|
|||||||
- name: Build OpenWrt
|
- name: Build OpenWrt
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
|
rm -rf package/feeds/packages/net/{xray-core,v2ray-geodata,sing-box,chinadns-ng,dns2socks,hysteria,ipt2socks,microsocks,naiveproxy,shadowsocks-rust,shadowsocksr-libev,simple-obfs,tcping,v2ray-plugin,xray-plugin,geoview,shadow-tls}
|
||||||
|
rm -rf package/feeds/luci/applications/luci-app-passwall
|
||||||
rm package/feeds/packages/adguardhome -rf
|
rm package/feeds/packages/adguardhome -rf
|
||||||
rm feeds/packages/net/adguardhome -rf
|
rm feeds/packages/net/adguardhome -rf
|
||||||
|
rm feeds/luci/applications/luci-app-adguardhome -rf
|
||||||
ln -s ../../../package/other/AutoBuild-Packages/adguardhome package/feeds/packages/adguardhome
|
ln -s ../../../package/other/AutoBuild-Packages/adguardhome package/feeds/packages/adguardhome
|
||||||
# 2024.03.03 mosdns build fail by golang 1.22
|
# 2024.03.03 mosdns build fail by golang 1.22
|
||||||
sed -i 's/CGO_ENABLED=0/CGO_ENABLED=1/g' feeds/packages/net/mosdns/Makefile
|
sed -i 's/CGO_ENABLED=0/CGO_ENABLED=1/g' feeds/packages/net/mosdns/Makefile
|
||||||
make -j4 | tee ./build_log.log || make -j1 V=s
|
make -j4 2>&1 | tee build_log.log
|
||||||
|
if [ "${PIPESTATUS[0]}" -ne 0 ]; then
|
||||||
|
make -j1 V=s
|
||||||
|
fi
|
||||||
[ "$?" == 0 ] && echo "Result=true" >> $GITHUB_ENV || echo "Result=false" >> $GITHUB_ENV
|
[ "$?" == 0 ] && echo "Result=true" >> $GITHUB_ENV || echo "Result=false" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|
||||||
@@ -255,6 +261,9 @@ jobs:
|
|||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware_Diy_End
|
Firmware_Diy_End
|
||||||
|
cd ..
|
||||||
|
mkdir ${{ steps.date.outputs.date }}
|
||||||
|
cp openwrt/bin/Firmware/* ./${{ steps.date.outputs.date }} -r
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
@@ -307,93 +316,41 @@ jobs:
|
|||||||
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_VMDK }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_UEFI_VDI }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_UEFI_VHDX }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_VMDK }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_LEGACY_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_LEGACY_VDI }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_LEGACY_VHDX }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VHDX }}
|
|
||||||
|
|
||||||
- name: Delete VM Disk File
|
- name: Delete VM Disk File
|
||||||
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||||
|
|||||||
@@ -299,7 +299,7 @@ jobs:
|
|||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -310,7 +310,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -321,7 +321,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -332,7 +332,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -343,7 +343,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -354,7 +354,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -365,7 +365,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -376,7 +376,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|||||||
@@ -65,11 +65,11 @@ jobs:
|
|||||||
- name: Maximize Build Space
|
- name: Maximize Build Space
|
||||||
uses: easimon/maximize-build-space@master
|
uses: easimon/maximize-build-space@master
|
||||||
with:
|
with:
|
||||||
root-reserve-mb: 5120
|
root-reserve-mb: 4096
|
||||||
swap-size-mb: 512
|
swap-size-mb: 512
|
||||||
|
temp-reserve-mb: 1024
|
||||||
remove-dotnet: 'true'
|
remove-dotnet: 'true'
|
||||||
remove-android: 'true'
|
remove-android: 'true'
|
||||||
remove-haskell: 'true'
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
@@ -142,7 +142,7 @@ jobs:
|
|||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
run: |
|
run: |
|
||||||
sudo -E apt-get update
|
sudo -E apt-get update
|
||||||
sudo -E apt-get -y install build-essential cmake asciidoc binutils bzip2 gawk gettext git libncurses5-dev zlib1g-dev patch unzip zlib1g-dev lib32gcc-s1 libc6-dev-i386 subversion flex uglifyjs git gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev xmlto qemu-utils upx-ucl libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons antlr3 gperf intltool genisoimage rsync
|
sudo -E apt-get -y install build-essential cmake binutils bzip2 gawk gettext git libncurses5-dev zlib1g-dev patch unzip zlib1g-dev lib32gcc-s1 libc6-dev-i386 subversion flex uglifyjs git gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev qemu-utils upx-ucl libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons antlr3 gperf intltool genisoimage rsync
|
||||||
sudo -E apt-get -y install llvm clang
|
sudo -E apt-get -y install llvm clang
|
||||||
sudo timedatectl set-timezone "Asia/Shanghai"
|
sudo timedatectl set-timezone "Asia/Shanghai"
|
||||||
sudo mkdir -p /workdir
|
sudo mkdir -p /workdir
|
||||||
@@ -177,7 +177,7 @@ jobs:
|
|||||||
./scripts/feeds uninstall luci-theme-argon
|
./scripts/feeds uninstall luci-theme-argon
|
||||||
# Update golang to 1.22 for xray-core build
|
# Update golang to 1.22 for xray-core build
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
git clone https://github.com/sbwml/packages_lang_golang -b 25.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 26.x feeds/packages/lang/golang
|
||||||
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
||||||
#fix dockerd bug
|
#fix dockerd bug
|
||||||
|
|
||||||
@@ -209,8 +209,11 @@ jobs:
|
|||||||
- name: Build OpenWrt
|
- name: Build OpenWrt
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
|
rm -rf package/feeds/packages/net/{xray-core,v2ray-geodata,sing-box,chinadns-ng,dns2socks,hysteria,ipt2socks,microsocks,naiveproxy,shadowsocks-rust,shadowsocksr-libev,simple-obfs,tcping,v2ray-plugin,xray-plugin,geoview,shadow-tls}
|
||||||
|
rm -rf package/feeds/luci/applications/luci-app-passwall
|
||||||
rm package/feeds/packages/adguardhome -rf
|
rm package/feeds/packages/adguardhome -rf
|
||||||
rm feeds/packages/net/adguardhome -rf
|
rm feeds/packages/net/adguardhome -rf
|
||||||
|
rm feeds/luci/applications/luci-app-adguardhome -rf
|
||||||
ln -s ../../../package/other/AutoBuild-Packages/adguardhome package/feeds/packages/adguardhome
|
ln -s ../../../package/other/AutoBuild-Packages/adguardhome package/feeds/packages/adguardhome
|
||||||
# 2024.03.03 mosdns build fail by golang 1.22
|
# 2024.03.03 mosdns build fail by golang 1.22
|
||||||
sed -i 's/CGO_ENABLED=0/CGO_ENABLED=1/g' feeds/packages/net/mosdns/Makefile
|
sed -i 's/CGO_ENABLED=0/CGO_ENABLED=1/g' feeds/packages/net/mosdns/Makefile
|
||||||
@@ -250,6 +253,9 @@ jobs:
|
|||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware_Diy_End
|
Firmware_Diy_End
|
||||||
|
cd ..
|
||||||
|
mkdir ${{ steps.date.outputs.date }}
|
||||||
|
cp openwrt/bin/Firmware/* ./${{ steps.date.outputs.date }} -r
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
@@ -302,93 +308,41 @@ jobs:
|
|||||||
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_VMDK }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_UEFI_VDI }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_UEFI_VHDX }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_VMDK }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_LEGACY_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_LEGACY_VDI }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_LEGACY_VHDX }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VHDX }}
|
|
||||||
|
|
||||||
- name: Delete VM Disk File
|
- name: Delete VM Disk File
|
||||||
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||||
|
|||||||
@@ -65,8 +65,9 @@ jobs:
|
|||||||
- name: Maximize Build Space
|
- name: Maximize Build Space
|
||||||
uses: easimon/maximize-build-space@master
|
uses: easimon/maximize-build-space@master
|
||||||
with:
|
with:
|
||||||
root-reserve-mb: 5120
|
root-reserve-mb: 4096
|
||||||
swap-size-mb: 512
|
swap-size-mb: 512
|
||||||
|
temp-reserve-mb: 1024
|
||||||
remove-dotnet: 'true'
|
remove-dotnet: 'true'
|
||||||
remove-android: 'true'
|
remove-android: 'true'
|
||||||
|
|
||||||
@@ -139,7 +140,7 @@ jobs:
|
|||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
run: |
|
run: |
|
||||||
sudo -E apt-get update
|
sudo -E apt-get update
|
||||||
sudo -E apt-get -y install build-essential cmake asciidoc binutils bzip2 gawk gettext git libncurses5-dev zlib1g-dev patch unzip zlib1g-dev lib32gcc-s1 libc6-dev-i386 subversion flex uglifyjs git gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev xmlto qemu-utils upx-ucl libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons antlr3 gperf intltool genisoimage rsync
|
sudo -E apt-get -y install build-essential cmake binutils bzip2 gawk gettext git libncurses5-dev zlib1g-dev patch unzip zlib1g-dev lib32gcc-s1 libc6-dev-i386 subversion flex uglifyjs git gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev qemu-utils upx-ucl libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python3 python3-pip python3-ply haveged lrzsz device-tree-compiler scons antlr3 gperf intltool genisoimage rsync
|
||||||
sudo -E apt-get -y install llvm clang
|
sudo -E apt-get -y install llvm clang
|
||||||
sudo timedatectl set-timezone "Asia/Shanghai"
|
sudo timedatectl set-timezone "Asia/Shanghai"
|
||||||
sudo mkdir -p /workdir
|
sudo mkdir -p /workdir
|
||||||
@@ -175,7 +176,7 @@ jobs:
|
|||||||
./scripts/feeds uninstall luci-theme-argon
|
./scripts/feeds uninstall luci-theme-argon
|
||||||
# Update golang to 1.22 for xray-core build
|
# Update golang to 1.22 for xray-core build
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
git clone https://github.com/sbwml/packages_lang_golang -b 25.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 26.x feeds/packages/lang/golang
|
||||||
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
||||||
#fix dockerd bug
|
#fix dockerd bug
|
||||||
|
|
||||||
@@ -207,10 +208,13 @@ jobs:
|
|||||||
- name: Build OpenWrt
|
- name: Build OpenWrt
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
|
rm -rf package/feeds/packages/net/{xray-core,v2ray-geodata,sing-box,chinadns-ng,dns2socks,hysteria,ipt2socks,microsocks,naiveproxy,shadowsocks-rust,shadowsocksr-libev,simple-obfs,tcping,v2ray-plugin,xray-plugin,geoview,shadow-tls}
|
||||||
|
rm -rf package/feeds/luci/applications/luci-app-passwall
|
||||||
rm package/feeds/packages/adguardhome -rf
|
rm package/feeds/packages/adguardhome -rf
|
||||||
rm feeds/packages/net/adguardhome -rf
|
rm feeds/packages/net/adguardhome -rf
|
||||||
|
rm feeds/luci/applications/luci-app-adguardhome -rf
|
||||||
ln -s ../../../package/other/AutoBuild-Packages/adguardhome package/feeds/packages/adguardhome
|
ln -s ../../../package/other/AutoBuild-Packages/adguardhome package/feeds/packages/adguardhome
|
||||||
make -j4 | tee ./build_log.log || make -j1 V=s
|
set -o pipefail && make -j4 2>&1 | tee build_log.log || make -j1 V=s
|
||||||
# 2024.03.03 mosdns build fail by golang 1.22
|
# 2024.03.03 mosdns build fail by golang 1.22
|
||||||
sed -i 's/CGO_ENABLED=0/CGO_ENABLED=1/g' feeds/packages/net/mosdns/Makefile
|
sed -i 's/CGO_ENABLED=0/CGO_ENABLED=1/g' feeds/packages/net/mosdns/Makefile
|
||||||
[ "$?" == 0 ] && echo "Result=true" >> $GITHUB_ENV || echo "Result=false" >> $GITHUB_ENV
|
[ "$?" == 0 ] && echo "Result=true" >> $GITHUB_ENV || echo "Result=false" >> $GITHUB_ENV
|
||||||
@@ -248,6 +252,9 @@ jobs:
|
|||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware_Diy_End
|
Firmware_Diy_End
|
||||||
ls bin/Firmware
|
ls bin/Firmware
|
||||||
|
cd ..
|
||||||
|
mkdir ${{ steps.date.outputs.date }}
|
||||||
|
cp openwrt/bin/Firmware/* ./${{ steps.date.outputs.date }} -r
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
@@ -300,30 +307,26 @@ jobs:
|
|||||||
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}e/${{ env.SP_UEFI_VMDK }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -334,7 +337,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -345,29 +348,25 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_VMDK }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_LEGACY_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -378,7 +377,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ jobs:
|
|||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -302,7 +302,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -313,7 +313,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -324,7 +324,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -335,7 +335,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -346,7 +346,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
uses: xopenwrt/share-point-uploader@v2.2
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -357,7 +357,7 @@ jobs:
|
|||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
@@ -368,7 +368,7 @@ jobs:
|
|||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
||||||
# uses: xopenwrt/share-point-uploader@v2.2
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|||||||
@@ -87,6 +87,10 @@ CONFIG_TARGET_ROOTFS_PARTSIZE=800
|
|||||||
CONFIG_TARGET_IMAGES_GZIP=y
|
CONFIG_TARGET_IMAGES_GZIP=y
|
||||||
CONFIG_PACKAGE_ntfs3-mount=y
|
CONFIG_PACKAGE_ntfs3-mount=y
|
||||||
|
|
||||||
|
|
||||||
|
CONFIG_PACKAGE_xz=y
|
||||||
|
CONFIG_PACKAGE_xz-utils=y
|
||||||
|
|
||||||
# CONFIG_SIGNATURE_CHECK is not set
|
# CONFIG_SIGNATURE_CHECK is not set
|
||||||
# CONFIG_SIGNED_PACKAGES is not set
|
# CONFIG_SIGNED_PACKAGES is not set
|
||||||
# CONFIG_PACKAGE_luci-app-unblockmusic is not set
|
# CONFIG_PACKAGE_luci-app-unblockmusic is not set
|
||||||
|
|||||||
@@ -60,6 +60,9 @@ CONFIG_TARGET_IMAGES_GZIP=y
|
|||||||
CONFIG_PACKAGE_ntfs3-mount=y
|
CONFIG_PACKAGE_ntfs3-mount=y
|
||||||
|
|
||||||
|
|
||||||
|
CONFIG_PACKAGE_xz=y
|
||||||
|
CONFIG_PACKAGE_xz-utils=y
|
||||||
|
|
||||||
# CONFIG_SIGNATURE_CHECK is not set
|
# CONFIG_SIGNATURE_CHECK is not set
|
||||||
# CONFIG_SIGNED_PACKAGES is not set
|
# CONFIG_SIGNED_PACKAGES is not set
|
||||||
# CONFIG_PACKAGE_luci-app-unblockmusic is not set
|
# CONFIG_PACKAGE_luci-app-unblockmusic is not set
|
||||||
|
|||||||
@@ -95,8 +95,8 @@ EOF
|
|||||||
# done ; unset x
|
# done ; unset x
|
||||||
|
|
||||||
patch < ${CustomFiles}/Patches/fix_coremark.patch -p1 -d ${WORK}
|
patch < ${CustomFiles}/Patches/fix_coremark.patch -p1 -d ${WORK}
|
||||||
#patch < ${CustomFiles}/Patches/fix_aria2_auto_create_download_path.patch -p1 -d ${WORK}
|
# patch < ${CustomFiles}/Patches/fix_aria2_auto_create_download_path.patch -p1 -d ${WORK}
|
||||||
patch < ${CustomFiles}/Patches/fix_luci-app-autoreboot-generic.patch -p1 -d ${WORK}
|
# patch < ${CustomFiles}/Patches/fix_luci-app-autoreboot-generic.patch -p1 -d ${WORK}
|
||||||
# delete adguardhome in lede package
|
# delete adguardhome in lede package
|
||||||
# rm package/feeds/packages/net/adguardhome -rf
|
# rm package/feeds/packages/net/adguardhome -rf
|
||||||
|
|
||||||
@@ -114,9 +114,9 @@ EOF
|
|||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64)
|
||||||
Copy ${CustomFiles}/Depends/cpuset ${BASE_FILES}/bin
|
Copy ${CustomFiles}/Depends/cpuset ${BASE_FILES}/bin
|
||||||
AddPackage git passwall-depends openwrt-passwall-packages xiaorouji main
|
AddPackage git passwall-packages openwrt-passwall-packages Openwrt-Passwall main
|
||||||
AddPackage git passwall-luci openwrt-passwall xiaorouji main
|
AddPackage git passwall-luci openwrt-passwall Openwrt-Passwall main
|
||||||
AddPackage git passwall2-luci openwrt-passwall2 xiaorouji main
|
AddPackage git passwall2-luci openwrt-passwall2 Openwrt-Passwall main
|
||||||
AddPackage git other luci-app-dockerman lisaac master
|
AddPackage git other luci-app-dockerman lisaac master
|
||||||
rm -rf packages/lean/autocore # May Can Delete
|
rm -rf packages/lean/autocore # May Can Delete
|
||||||
AddPackage git lean autocore-modify xopenwrt master
|
AddPackage git lean autocore-modify xopenwrt master
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ echo "------------------------------- IP Address Info --------------------------
|
|||||||
IP=`curl ip.115115.xyz -s`
|
IP=`curl ip.115115.xyz -s`
|
||||||
curl ip.115115.xyz -s
|
curl ip.115115.xyz -s
|
||||||
# curl -s https://searchplugin.csdn.net/api/v1/ip/get?ip=${IP} | jq -r .data.address
|
# curl -s https://searchplugin.csdn.net/api/v1/ip/get?ip=${IP} | jq -r .data.address
|
||||||
curl -s https://api.vore.top/api/IPdata?ip=${IP} | jq -r .adcode.o
|
# curl -s "https://api.vore.top/api/IPdata?ip=${IP}" | jq -r .adcode.o
|
||||||
}
|
}
|
||||||
|
|
||||||
Get_Release_Info() {
|
Get_Release_Info() {
|
||||||
|
|||||||
Reference in New Issue
Block a user