release: v23.10_b202312270857 #309
Workflow file for this run
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
#================================================= | |
# Description: Build X-WRT using GitHub Actions | |
# Lisence: MIT | |
# Author: ptpt52 | |
#================================================= | |
name: Build Jobs 23.10_b202312270857 | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
release: | |
name: Create Github Release | |
if: contains(github.ref, 'tags/v') | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Create Release | |
id: create_release | |
uses: ncipollo/release-action@v1 | |
with: | |
token: ${{ secrets.WORKFLOW_TOKEN }} | |
name: X-WRT ${{ github.ref_name }} | |
draft: false | |
allowUpdates: true | |
- name: Output Release URL File | |
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt | |
- name: Save Release URL File for publish | |
uses: actions/upload-artifact@v3 | |
with: | |
name: release_url | |
path: release_url.txt | |
build-ath79-generic_ath79-generic-nosymbol: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="ath79-generic ath79-generic-nosymbol" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-ath79-generic_ath79-generic-nosymbol | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ath79-generic | |
id: asset-5171c5e2b3ac3b4e9ac8396cd307cf84 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ath79-generic.zip | |
asset_name: x-wrt-23.10_b202312270857-ath79-generic.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ath79-generic-nosymbol | |
id: asset-4b16b1195afae14f93b4eb174b70295c | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ath79-generic-nosymbol.zip | |
asset_name: x-wrt-23.10_b202312270857-ath79-generic-nosymbol.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-ath79-nand: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="ath79-nand" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-ath79-nand | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ath79-nand | |
id: asset-3f663dafc01e66c21db05775da2831dd | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ath79-nand.zip | |
asset_name: x-wrt-23.10_b202312270857-ath79-nand.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-ipq40xx-generic: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="ipq40xx-generic" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-ipq40xx-generic | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ipq40xx-generic | |
id: asset-c6971ee98e5b530296fbf0de3479d6d7 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ipq40xx-generic.zip | |
asset_name: x-wrt-23.10_b202312270857-ipq40xx-generic.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-bcm27xx-bcm2709_sunxi-cortexa7: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="bcm27xx-bcm2709 sunxi-cortexa7" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-bcm27xx-bcm2709_sunxi-cortexa7 | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-bcm27xx-bcm2709 | |
id: asset-8d0cd19f9e1f84d5c941716cc8cd5c4d | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-bcm27xx-bcm2709.zip | |
asset_name: x-wrt-23.10_b202312270857-bcm27xx-bcm2709.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-sunxi-cortexa7 | |
id: asset-49e43cba396dc50ca1e8696ca344e241 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-sunxi-cortexa7.zip | |
asset_name: x-wrt-23.10_b202312270857-sunxi-cortexa7.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-bcm27xx-bcm2710: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="bcm27xx-bcm2710" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-bcm27xx-bcm2710 | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-bcm27xx-bcm2710 | |
id: asset-b5ef3517f5f0497b288dfc0cdf4c5c34 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-bcm27xx-bcm2710.zip | |
asset_name: x-wrt-23.10_b202312270857-bcm27xx-bcm2710.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-mediatek-mt7622_mediatek-filogic: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="mediatek-mt7622 mediatek-filogic" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-mediatek-mt7622_mediatek-filogic | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-mediatek-mt7622 | |
id: asset-09df8da5cc3c8dfeef55edb52fd050c6 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-mediatek-mt7622.zip | |
asset_name: x-wrt-23.10_b202312270857-mediatek-mt7622.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-mediatek-filogic | |
id: asset-320eff5268bbbd0d6a16d0e54e735f62 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-mediatek-filogic.zip | |
asset_name: x-wrt-23.10_b202312270857-mediatek-filogic.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-qualcommax-ipq807x: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="qualcommax-ipq807x" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-qualcommax-ipq807x | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-qualcommax-ipq807x | |
id: asset-b50de1b4b1f1248cb5a95578d13baf91 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-qualcommax-ipq807x.zip | |
asset_name: x-wrt-23.10_b202312270857-qualcommax-ipq807x.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-bcm27xx-bcm2711: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="bcm27xx-bcm2711" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-bcm27xx-bcm2711 | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-bcm27xx-bcm2711 | |
id: asset-64b68ed222d7300e114da5e4459ebe51 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-bcm27xx-bcm2711.zip | |
asset_name: x-wrt-23.10_b202312270857-bcm27xx-bcm2711.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-bcm53xx-generic: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="bcm53xx-generic" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-bcm53xx-generic | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-bcm53xx-generic | |
id: asset-9a13641efa99f09c497f223958cea704 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-bcm53xx-generic.zip | |
asset_name: x-wrt-23.10_b202312270857-bcm53xx-generic.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-ipq806x-generic: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="ipq806x-generic" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-ipq806x-generic | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ipq806x-generic | |
id: asset-d44eec17738f9dfeeb693046e086accb | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ipq806x-generic.zip | |
asset_name: x-wrt-23.10_b202312270857-ipq806x-generic.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-kirkwood-generic: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="kirkwood-generic" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-kirkwood-generic | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-kirkwood-generic | |
id: asset-d7a68082a2ed3b7815f0db97ab999e8e | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-kirkwood-generic.zip | |
asset_name: x-wrt-23.10_b202312270857-kirkwood-generic.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-mvebu-cortexa9: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="mvebu-cortexa9" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-mvebu-cortexa9 | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-mvebu-cortexa9 | |
id: asset-97f8b2496c1ee29129782f955731b36e | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-mvebu-cortexa9.zip | |
asset_name: x-wrt-23.10_b202312270857-mvebu-cortexa9.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-ramips-mt7620_ramips-mt7620-nosymbol: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="ramips-mt7620 ramips-mt7620-nosymbol" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-ramips-mt7620_ramips-mt7620-nosymbol | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ramips-mt7620 | |
id: asset-f68137e85b4b3a519aadd558f1fab755 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ramips-mt7620.zip | |
asset_name: x-wrt-23.10_b202312270857-ramips-mt7620.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ramips-mt7620-nosymbol | |
id: asset-1548c39fa8609b5ce31d490348947804 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ramips-mt7620-nosymbol.zip | |
asset_name: x-wrt-23.10_b202312270857-ramips-mt7620-nosymbol.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-ramips-mt7621_ramips-mt7621-ext4fs: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="ramips-mt7621 ramips-mt7621-ext4fs" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-ramips-mt7621_ramips-mt7621-ext4fs | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ramips-mt7621 | |
id: asset-2e1439e32b5d14a14e60b45ca08762ff | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ramips-mt7621.zip | |
asset_name: x-wrt-23.10_b202312270857-ramips-mt7621.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ramips-mt7621-ext4fs | |
id: asset-c6972bf345e148cb1fcb53862ac196a9 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ramips-mt7621-ext4fs.zip | |
asset_name: x-wrt-23.10_b202312270857-ramips-mt7621-ext4fs.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-ramips-mt76x8_ramips-mt76x8-nosymbol: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="ramips-mt76x8 ramips-mt76x8-nosymbol" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-ramips-mt76x8_ramips-mt76x8-nosymbol | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ramips-mt76x8 | |
id: asset-2c22764551290d50a9c1749cdbc460cb | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ramips-mt76x8.zip | |
asset_name: x-wrt-23.10_b202312270857-ramips-mt76x8.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-ramips-mt76x8-nosymbol | |
id: asset-e420a72e012782422a3d16a04ef687ec | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-ramips-mt76x8-nosymbol.zip | |
asset_name: x-wrt-23.10_b202312270857-ramips-mt76x8-nosymbol.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-rockchip-armv8_armsr-armv8: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="rockchip-armv8 armsr-armv8" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-rockchip-armv8_armsr-armv8 | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-rockchip-armv8 | |
id: asset-520de2fa9fb374693659d9da8d3d32aa | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-rockchip-armv8.zip | |
asset_name: x-wrt-23.10_b202312270857-rockchip-armv8.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-armsr-armv8 | |
id: asset-c598f55c5eabd636806fd13999bfe312 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-armsr-armv8.zip | |
asset_name: x-wrt-23.10_b202312270857-armsr-armv8.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-x86_64: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="x86_64" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-x86_64 | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-x86_64 | |
id: asset-8f89ec25930e2250d8d9e600d9f36b56 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-x86_64.zip | |
asset_name: x-wrt-23.10_b202312270857-x86_64.zip | |
asset_content_type: application/zip | |
overwrite: true | |
build-x86_64-docker: | |
if: contains(github.ref, 'tags/v') | |
needs: release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialization environment | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
docker rmi `docker images -q` | |
echo "Deleting files, please wait ..." | |
sudo rm -rf \ | |
/usr/share/dotnet \ | |
/etc/mysql \ | |
/etc/php | |
sudo -E apt-get -y purge \ | |
azure-cli \ | |
ghc* \ | |
zulu* \ | |
hhvm \ | |
llvm* \ | |
firefox \ | |
google* \ | |
dotnet* \ | |
powershell \ | |
openjdk* \ | |
mysql* \ | |
php* | |
sudo -E apt-get update | |
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler tzdata python3-pyelftools python3-dev | |
sudo -E apt-get -y autoremove --purge | |
sudo -E apt-get clean | |
- name: Clean up disk | |
run: sudo rm -rf /opt/* | |
- name: Clone source code | |
run: git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git | |
- name: Update feeds | |
run: cd x-wrt && ./scripts/feeds update -a | |
- name: Install feeds | |
run: cd x-wrt && ./scripts/feeds install -a | |
- name: Building | |
run: | | |
cp *.sh x-wrt/ | |
cp release.tag x-wrt/ | |
cd x-wrt | |
echo -e "$(nproc) thread build." | |
BTARGET="x86_64-docker" sh build.sh $(nproc) | |
- name : Upload make.log if failure | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: build-failure-log-x86_64-docker | |
path: make.log | |
- name: Load Release URL File from release job | |
uses: actions/download-artifact@v3 | |
with: | |
name: release_url | |
path: release_url | |
- name: Get Release Upload URL | |
id: get_release_info | |
run: | | |
value=`cat release_url/release_url.txt || cat release_url.txt` | |
echo "upload_url=$value" >> $GITHUB_OUTPUT | |
env: | |
TAG_REF_NAME: ${{ github.ref }} | |
REPOSITORY_NAME: ${{ github.repository }} | |
- name: Upload Release Asset x-wrt-23.10_b202312270857-x86_64-docker | |
id: asset-d5ae4d8d6b94f2485eeabb8fe014afd1 | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
github_token: ${{ secrets.WORKFLOW_TOKEN }} | |
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | |
asset_path: ./x-wrt/x-wrt-23.10_b202312270857-x86_64-docker.zip | |
asset_name: x-wrt-23.10_b202312270857-x86_64-docker.zip | |
asset_content_type: application/zip | |
overwrite: true |