-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,15 @@ | |
# Copyright (c) 2020, Chuck <[email protected]> | ||
# | ||
|
||
name: openwrt-22.03 | ||
name: openwrt-23.05 | ||
|
||
on: | ||
push: | ||
branches: [ openwrt-22.03 ] | ||
branches: [ openwrt-23.05 ] | ||
tags: | ||
- v22.03.* | ||
- v23.05.* | ||
pull_request: | ||
branches: [ openwrt-22.03 ] | ||
branches: [ openwrt-23.05 ] | ||
|
||
jobs: | ||
build: | ||
|
@@ -33,34 +33,28 @@ jobs: | |
- name: Checkout Project | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: openwrt-22.03 | ||
ref: openwrt-23.05 | ||
|
||
- name: Show large directories | ||
run: | | ||
df -h | ||
sudo du -xh --exclude=/{proc,sys,dev} / | grep -E '^[0-9.]*?[GTPEZY]' | ||
|
||
- name: Initialize Environment | ||
- name: Initialize environment | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
run: | | ||
sudo du -xh -d4 --exclude=/{proc,sys,dev} / | grep -E '^[0-9.]*?[GTPEZY]' | ||
sudo rm -rf /usr/local/lib/android | ||
sudo apt-get update | ||
sudo apt-get install build-essential clang flex bison g++ gawk gcc-multilib g++-multilib gettext git libelf-dev libncurses-dev libssl-dev python3-distutils quilt rsync subversion unzip zlib1g-dev file wget | ||
sudo apt-get install build-essential clang flex bison g++ gawk gcc-multilib g++-multilib gettext git libelf-dev libncurses-dev libssl-dev python3-distutils rsync unzip zlib1g-dev file wget | ||
sudo apt-get autoremove --purge | ||
sudo apt-get clean | ||
git config --global user.name "GitHub Actions" | ||
git config --global user.email "[email protected]" | ||
- name: Show disk space usage | ||
run: | | ||
df -h | ||
- name: Build OpenWrt | ||
run: | | ||
./build.sh -t ${{ matrix.target }} | ||
- name: Upload Artifact | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: openwrt-${{ matrix.target }} | ||
|
@@ -70,7 +64,7 @@ jobs: | |
if: startsWith(github.ref, 'refs/tags/') | ||
needs: build | ||
|
||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/download-artifact@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters