release: v23.10_b202312261656 #308
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_b202312261656 | |
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_b202312261656-ath79-generic | |
id: asset-85e8372d58e9506431d35ce6ffca09e9 | |
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_b202312261656-ath79-generic.zip | |
asset_name: x-wrt-23.10_b202312261656-ath79-generic.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312261656-ath79-generic-nosymbol | |
id: asset-89f386325b7146c6b0edb4693c573fed | |
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_b202312261656-ath79-generic-nosymbol.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-ath79-nand | |
id: asset-a5906770d8daf280f7a886f26873ca50 | |
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_b202312261656-ath79-nand.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-ipq40xx-generic | |
id: asset-b94ada4e12e4b50bbe35b4230d4acd10 | |
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_b202312261656-ipq40xx-generic.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-bcm27xx-bcm2709 | |
id: asset-c036beb9d71b921e864f0dd3d8bbd667 | |
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_b202312261656-bcm27xx-bcm2709.zip | |
asset_name: x-wrt-23.10_b202312261656-bcm27xx-bcm2709.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312261656-sunxi-cortexa7 | |
id: asset-c9f63cb7c5ad26f0cff5473b3b6ed2a1 | |
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_b202312261656-sunxi-cortexa7.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-bcm27xx-bcm2710 | |
id: asset-9df7202cc0aa01ab05693f8f9f96a353 | |
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_b202312261656-bcm27xx-bcm2710.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-mediatek-mt7622 | |
id: asset-792d1d7cee5a625a059dc4ce755feca5 | |
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_b202312261656-mediatek-mt7622.zip | |
asset_name: x-wrt-23.10_b202312261656-mediatek-mt7622.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312261656-mediatek-filogic | |
id: asset-b651660fc1848bd76cef5876350182fc | |
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_b202312261656-mediatek-filogic.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-qualcommax-ipq807x | |
id: asset-7f20eb6834d329154cbd3f372978fe97 | |
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_b202312261656-qualcommax-ipq807x.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-bcm27xx-bcm2711 | |
id: asset-1b55a08ea729e0ae2cf13dc421cbcae5 | |
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_b202312261656-bcm27xx-bcm2711.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-bcm53xx-generic | |
id: asset-0583b9dec929413c5d4e6161380650ca | |
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_b202312261656-bcm53xx-generic.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-ipq806x-generic | |
id: asset-08c24aa6bd8c800da634b50e3c5bfc85 | |
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_b202312261656-ipq806x-generic.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-kirkwood-generic | |
id: asset-a5636966f57868c62c99d46cd229c36c | |
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_b202312261656-kirkwood-generic.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-mvebu-cortexa9 | |
id: asset-87fc16f794cd5e189e7c1967d7699811 | |
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_b202312261656-mvebu-cortexa9.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-ramips-mt7620 | |
id: asset-9a0e33453a870675191ddfe150f06a6f | |
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_b202312261656-ramips-mt7620.zip | |
asset_name: x-wrt-23.10_b202312261656-ramips-mt7620.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312261656-ramips-mt7620-nosymbol | |
id: asset-c6fbd4e64bca21df47fdf12c9f146de4 | |
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_b202312261656-ramips-mt7620-nosymbol.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-ramips-mt7621 | |
id: asset-37978f7071489fb16447b8adb37c121c | |
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_b202312261656-ramips-mt7621.zip | |
asset_name: x-wrt-23.10_b202312261656-ramips-mt7621.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312261656-ramips-mt7621-ext4fs | |
id: asset-0ddcb40d9a2c02c286dd2abb034b1824 | |
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_b202312261656-ramips-mt7621-ext4fs.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-ramips-mt76x8 | |
id: asset-2597ee9ed1696f2716ef18a536d11820 | |
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_b202312261656-ramips-mt76x8.zip | |
asset_name: x-wrt-23.10_b202312261656-ramips-mt76x8.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312261656-ramips-mt76x8-nosymbol | |
id: asset-d84ab36179308eb9ff4909849ef7a95a | |
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_b202312261656-ramips-mt76x8-nosymbol.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-rockchip-armv8 | |
id: asset-d8027de849c4b3f6cfdb96b0e5629b52 | |
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_b202312261656-rockchip-armv8.zip | |
asset_name: x-wrt-23.10_b202312261656-rockchip-armv8.zip | |
asset_content_type: application/zip | |
overwrite: true | |
- name: Upload Release Asset x-wrt-23.10_b202312261656-armsr-armv8 | |
id: asset-4a0c0006b0d51fa20bfcce2a52284f92 | |
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_b202312261656-armsr-armv8.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-x86_64 | |
id: asset-b7a45eeed58b4e3582f688bfe3d99a52 | |
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_b202312261656-x86_64.zip | |
asset_name: x-wrt-23.10_b202312261656-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_b202312261656-x86_64-docker | |
id: asset-25f7d2e18bedf008145608c19055c61a | |
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_b202312261656-x86_64-docker.zip | |
asset_name: x-wrt-23.10_b202312261656-x86_64-docker.zip | |
asset_content_type: application/zip | |
overwrite: true |