Skip to content

release: v24.04_b202409030840 #366

release: v24.04_b202409030840

release: v24.04_b202409030840 #366

Workflow file for this run

#=================================================
# Description: Build X-WRT using GitHub Actions
# Lisence: MIT
# Author: ptpt52
#=================================================
name: Build Jobs 24.04_b202409030840
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@v4
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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/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@v4
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@v4
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-24.04_b202409030840-ath79-generic
id: asset-ddcb086cfdc7753c707abd89a724dd80
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ath79-generic.zip
asset_name: x-wrt-24.04_b202409030840-ath79-generic.zip
asset_content_type: application/zip
overwrite: true
- name: Upload Release Asset x-wrt-24.04_b202409030840-ath79-generic-nosymbol
id: asset-d3a922f492288b09a74b6b68e659dc0a
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ath79-generic-nosymbol.zip
asset_name: x-wrt-24.04_b202409030840-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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="ath79-nand" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-ath79-nand
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-ath79-nand
id: asset-8e720e8e4f790b8f7f2bfe068ff5520f
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ath79-nand.zip
asset_name: x-wrt-24.04_b202409030840-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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="ipq40xx-generic" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-ipq40xx-generic
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-ipq40xx-generic
id: asset-b0839d19b7b1c99859554a537e5a1fc4
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ipq40xx-generic.zip
asset_name: x-wrt-24.04_b202409030840-ipq40xx-generic.zip
asset_content_type: application/zip
overwrite: true
build-bcm27xx-bcm2709:
if: contains(github.ref, 'tags/v')
needs: release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="bcm27xx-bcm2709" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-bcm27xx-bcm2709
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-bcm27xx-bcm2709
id: asset-4e4e664e5bc13267544c4b8cc79c5eee
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-bcm27xx-bcm2709.zip
asset_name: x-wrt-24.04_b202409030840-bcm27xx-bcm2709.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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="bcm27xx-bcm2710" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-bcm27xx-bcm2710
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-bcm27xx-bcm2710
id: asset-9b606f6e1b62e404e5a9e8cfe9ac4fd5
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-bcm27xx-bcm2710.zip
asset_name: x-wrt-24.04_b202409030840-bcm27xx-bcm2710.zip
asset_content_type: application/zip
overwrite: true
build-mediatek-mt7622:
if: contains(github.ref, 'tags/v')
needs: release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="mediatek-mt7622" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-mediatek-mt7622
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-mediatek-mt7622
id: asset-c21223b20ae1b56e5f852b16b6b1d02f
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-mediatek-mt7622.zip
asset_name: x-wrt-24.04_b202409030840-mediatek-mt7622.zip
asset_content_type: application/zip
overwrite: true
build-mediatek-filogic:
if: contains(github.ref, 'tags/v')
needs: release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="mediatek-filogic" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-mediatek-filogic
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-mediatek-filogic
id: asset-e34b465db1bd385cb6ff4401a4d2d7b0
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-mediatek-filogic.zip
asset_name: x-wrt-24.04_b202409030840-mediatek-filogic.zip
asset_content_type: application/zip
overwrite: true
build-mediatek-filogic-uncommon:
if: contains(github.ref, 'tags/v')
needs: release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="mediatek-filogic-uncommon" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-mediatek-filogic-uncommon
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-mediatek-filogic-uncommon
id: asset-791d300535dac8bab48b14bf2a96952a
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-mediatek-filogic-uncommon.zip
asset_name: x-wrt-24.04_b202409030840-mediatek-filogic-uncommon.zip
asset_content_type: application/zip
overwrite: true
build-qualcommax-ipq807x_qualcommax-ipq60xx:
if: contains(github.ref, 'tags/v')
needs: release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="qualcommax-ipq807x qualcommax-ipq60xx" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-qualcommax-ipq807x_qualcommax-ipq60xx
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-qualcommax-ipq807x
id: asset-87951fdda3115ec29846fca91075d8fe
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-qualcommax-ipq807x.zip
asset_name: x-wrt-24.04_b202409030840-qualcommax-ipq807x.zip
asset_content_type: application/zip
overwrite: true
- name: Upload Release Asset x-wrt-24.04_b202409030840-qualcommax-ipq60xx
id: asset-281aaba9efc1e62a2885c29a45fdcfba
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-qualcommax-ipq60xx.zip
asset_name: x-wrt-24.04_b202409030840-qualcommax-ipq60xx.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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="bcm27xx-bcm2711" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-bcm27xx-bcm2711
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-bcm27xx-bcm2711
id: asset-2ece9ceb5fa482eac6b30178e720f08c
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-bcm27xx-bcm2711.zip
asset_name: x-wrt-24.04_b202409030840-bcm27xx-bcm2711.zip
asset_content_type: application/zip
overwrite: true
build-bcm27xx-bcm2712:
if: contains(github.ref, 'tags/v')
needs: release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="bcm27xx-bcm2712" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-bcm27xx-bcm2712
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-bcm27xx-bcm2712
id: asset-340630fea3ee147d87d33d7135310d62
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-bcm27xx-bcm2712.zip
asset_name: x-wrt-24.04_b202409030840-bcm27xx-bcm2712.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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="bcm53xx-generic" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-bcm53xx-generic
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-bcm53xx-generic
id: asset-d80ec6aabcf9ad32d1d6286716201aeb
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-bcm53xx-generic.zip
asset_name: x-wrt-24.04_b202409030840-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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="ipq806x-generic" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-ipq806x-generic
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-ipq806x-generic
id: asset-f685778f6e612994afc80c3f34515175
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ipq806x-generic.zip
asset_name: x-wrt-24.04_b202409030840-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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="kirkwood-generic" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-kirkwood-generic
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-kirkwood-generic
id: asset-556bb005d30010defd69d4fbe6a2c7af
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-kirkwood-generic.zip
asset_name: x-wrt-24.04_b202409030840-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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="mvebu-cortexa9" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-mvebu-cortexa9
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-mvebu-cortexa9
id: asset-abc9df74a568ac53a62369c5444163b1
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-mvebu-cortexa9.zip
asset_name: x-wrt-24.04_b202409030840-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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/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@v4
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@v4
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-24.04_b202409030840-ramips-mt7620
id: asset-82e4d2b2105a16111d8b1ffac942c8de
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ramips-mt7620.zip
asset_name: x-wrt-24.04_b202409030840-ramips-mt7620.zip
asset_content_type: application/zip
overwrite: true
- name: Upload Release Asset x-wrt-24.04_b202409030840-ramips-mt7620-nosymbol
id: asset-eeb6781a1fdf6fe4dd511b48d26d2d79
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ramips-mt7620-nosymbol.zip
asset_name: x-wrt-24.04_b202409030840-ramips-mt7620-nosymbol.zip
asset_content_type: application/zip
overwrite: true
build-ramips-mt7621_ramips-mt7621-nosymbol:
if: contains(github.ref, 'tags/v')
needs: release
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="ramips-mt7621 ramips-mt7621-nosymbol" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-ramips-mt7621_ramips-mt7621-nosymbol
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-ramips-mt7621
id: asset-3f554239d875630c211611d15af2bd82
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ramips-mt7621.zip
asset_name: x-wrt-24.04_b202409030840-ramips-mt7621.zip
asset_content_type: application/zip
overwrite: true
- name: Upload Release Asset x-wrt-24.04_b202409030840-ramips-mt7621-nosymbol
id: asset-7fcf28ed8115b1672b69291f403470c5
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ramips-mt7621-nosymbol.zip
asset_name: x-wrt-24.04_b202409030840-ramips-mt7621-nosymbol.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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/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@v4
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@v4
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-24.04_b202409030840-ramips-mt76x8
id: asset-7c78dd916a0837340baf176c24e107ad
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ramips-mt76x8.zip
asset_name: x-wrt-24.04_b202409030840-ramips-mt76x8.zip
asset_content_type: application/zip
overwrite: true
- name: Upload Release Asset x-wrt-24.04_b202409030840-ramips-mt76x8-nosymbol
id: asset-6af798f6a46bd1f4d12f52f4bcb3f339
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-ramips-mt76x8-nosymbol.zip
asset_name: x-wrt-24.04_b202409030840-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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/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@v4
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@v4
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-24.04_b202409030840-rockchip-armv8
id: asset-5206dad45b74f15564525bcc1f3d7d8d
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-rockchip-armv8.zip
asset_name: x-wrt-24.04_b202409030840-rockchip-armv8.zip
asset_content_type: application/zip
overwrite: true
- name: Upload Release Asset x-wrt-24.04_b202409030840-armsr-armv8
id: asset-b68b7c6e5cebbed0f5b1c5022f093a87
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-armsr-armv8.zip
asset_name: x-wrt-24.04_b202409030840-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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/x-wrt
echo -e "$(nproc) thread build."
BTARGET="x86_64" sh build.sh $(nproc)
- name : Upload make.log if failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-failure-log-x86_64
path: make.log
- name: Load Release URL File from release job
uses: actions/download-artifact@v4
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-24.04_b202409030840-x86_64
id: asset-c190135399ea88b2b1b5ff0314c68c95
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-x86_64.zip
asset_name: x-wrt-24.04_b202409030840-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@v4
- name: Pre Initialization environment
run: |
docker rmi `docker images -q`
sudo -E df -h
sudo ls -lh /mnt
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
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: |
sudo -E mkdir /mnt/work
sudo -E chmod 777 /mnt/work
git clone --depth 1 --branch `cat release.tag` https://github.com/x-wrt/x-wrt.git /mnt/work/x-wrt
- name: Update feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds update -a
- name: Install feeds
run: cd /mnt/work/x-wrt && ./scripts/feeds install -a
- name: Building
run: |
cp *.sh /mnt/work/x-wrt/
cp release.tag /mnt/work/x-wrt/
cd /mnt/work/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@v4
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@v4
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-24.04_b202409030840-x86_64-docker
id: asset-cbdb3f039270bc92626955f9e1614292
uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: /mnt/work/x-wrt/x-wrt-24.04_b202409030840-x86_64-docker.zip
asset_name: x-wrt-24.04_b202409030840-x86_64-docker.zip
asset_content_type: application/zip
overwrite: true