Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
Repo: Upgrade to OpenWrt-Buildbot
Browse files Browse the repository at this point in the history
  • Loading branch information
SuLingGG committed Jan 19, 2022
1 parent 1c2c2de commit 5384549
Show file tree
Hide file tree
Showing 42 changed files with 1,029 additions and 5,191 deletions.
505 changes: 0 additions & 505 deletions .github/workflows/bcm27xx-bcm2708.yml

This file was deleted.

505 changes: 0 additions & 505 deletions .github/workflows/bcm27xx-bcm2709.yml

This file was deleted.

505 changes: 0 additions & 505 deletions .github/workflows/bcm27xx-bcm2710.yml

This file was deleted.

507 changes: 0 additions & 507 deletions .github/workflows/bcm27xx-bcm2711.yml

This file was deleted.

30 changes: 7 additions & 23 deletions .github/workflows/cache-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,63 +6,47 @@
# Blog: https://p3terx.com
#=================================================

name: Cache OpenWrt Packages
name: Cache Packages

on:
repository_dispatch:
types: [cache]
workflow_dispatch:
schedule:
- cron: 0 18 * * *
# watch:
# types: started

env:
REPO_URL: https://github.com/immortalwrt/immortalwrt
REPO_BRANCH: openwrt-18.06-k5.4

jobs:
Build:
runs-on: project-cache
runs-on: cache

steps:
- name: Checkout
uses: actions/checkout@main

- name: Initialization Environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo -E apt-get -qq update
sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-1804)
sudo -E apt-get -qq autoremove --purge
sudo -E apt-get -qq clean
- name: Clone Source Code
run: |
df -hT $PWD
git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt
- name: Update Feeds
- name: Install Feeds
run: |
cd openwrt
echo "OPENWRTROOT=$PWD" >> $GITHUB_ENV
./scripts/feeds update -a
- name: Install Feeds
run: |
cd $OPENWRTROOT
./scripts/feeds install -a
- name: Download All Packages
run: |
cd $OPENWRTROOT
wget -q https://raw.githubusercontent.com/openwrt/openwrt/master/scripts/download.pl -O scripts/download.pl
cd openwrt
echo "CONFIG_ALL=y" >> .config
make defconfig
make download -j16 IGNORE_ERRORS=1
make download -j32 IGNORE_ERRORS=1
find dl -size -1024c -exec ls -l {} \;
find dl -size -1024c -exec rm -f {} \;
mkdir -p /data/cache
rm -rf /data/cache/dl
cp -r dl /data/cache
mv dl /data/cache
11 changes: 1 addition & 10 deletions .github/workflows/delete-workflows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Delete Old Workflows
name: Delete Workflows

on:
workflow_dispatch:
Expand All @@ -16,12 +16,3 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
retain_days: 7

- name: Delete Old Toolchain Assets
uses: mknejp/delete-release-assets@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: rockchip-armv8
fail-if-no-assets: false
fail-if-no-release: false
assets: "*"
Loading

0 comments on commit 5384549

Please sign in to comment.