Skip to content

Commit 9033467

Browse files
authored
Update build-openwrt.yml
1 parent 8621b37 commit 9033467

1 file changed

Lines changed: 126 additions & 126 deletions

File tree

.github/workflows/build-openwrt.yml

Lines changed: 126 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -613,81 +613,81 @@ jobs:
613613
cd openwrt
614614
make download -j50
615615
### ----------------------------------------------------------------- ###
616-
- name: Make
617-
id: GNUTAR
618-
run: |
619-
df -h
620-
cd openwrt
621-
let make_process=$(nproc)+2
622-
make -j${make_process} V=s
623-
### ----------------------------------------------------------------- ###
624-
- name: Building and installing tools
625-
id: maketools
626-
run: |
627-
df -h
628-
cd openwrt
629-
let make_process=$(nproc)+2
630-
make tools/install -j${make_process} V=s
631-
### ----------------------------------------------------------------- ###
632-
- name: Building and installing toolchain
633-
id: maketoolchain
634-
run: |
635-
df -h
636-
cd openwrt
637-
let make_process=$(nproc)+2
638-
make toolchain/install -j${make_process} V=s
639-
### ----------------------------------------------------------------- ###
640-
- name: Building kmods
641-
id: makekmods
642-
if: env.BUILD_KMODS == 'true' && !cancelled()
643-
run: |
644-
df -h
645-
cd openwrt
646-
let make_process=$(nproc)+2
647-
make target/compile -j${make_process} V=s
648-
### ----------------------------------------------------------------- ###
649-
- name: Building packages
650-
id: makepackages
651-
if: env.BUILD_PACKAGES == 'true' && !cancelled()
652-
run: >
653-
df -h
616+
# - name: Make
617+
# id: GNUTAR
618+
# run: |
619+
# df -h
620+
# cd openwrt
621+
# let make_process=$(nproc)+2
622+
# make -j${make_process} V=s
623+
### ----------------------------------------------------------------- ###
624+
# - name: Building and installing tools
625+
# id: maketools
626+
# run: |
627+
# df -h
628+
# cd openwrt
629+
# let make_process=$(nproc)+2
630+
# make tools/install -j${make_process} V=s
631+
### ----------------------------------------------------------------- ###
632+
# - name: Building and installing toolchain
633+
# id: maketoolchain
634+
# run: |
635+
# df -h
636+
# cd openwrt
637+
# let make_process=$(nproc)+2
638+
# make toolchain/install -j${make_process} V=s
639+
### ----------------------------------------------------------------- ###
640+
# - name: Building kmods
641+
# id: makekmods
642+
# if: env.BUILD_KMODS == 'true' && !cancelled()
643+
# run: |
644+
# df -h
645+
# cd openwrt
646+
# let make_process=$(nproc)+2
647+
# make target/compile -j${make_process} V=s
648+
### ----------------------------------------------------------------- ###
649+
# - name: Building packages
650+
# id: makepackages
651+
# if: env.BUILD_PACKAGES == 'true' && !cancelled()
652+
# run: >
653+
# df -h
654+
#
655+
# cd openwrt
656+
#
657+
# let make_process=$(nproc)+2
658+
#
659+
# make package/compile -j${make_process} || make package/compile
660+
# -j${make_process} V=s 2>&1 | tee logs/build.log | grep -i -E
661+
# "^make.*(error|[12345]...Entering directory)"
662+
### ----------------------------------------------------------------- ###
663+
# - name: Installing packages
664+
# id: installpackages
665+
# if: env.INSTALL_PACKAGES == 'true' && !cancelled()
666+
# run: >
667+
# df -h
668+
#
669+
# cd openwrt
670+
#
671+
# let make_process=$(nproc)+2
672+
#
673+
# make package/install -j${make_process} || make package/install
674+
# -j${make_process} V=s 2>&1 | tee logs/build.log | grep -i -E
675+
# "^make.*(error|[12345]...Entering directory)"
676+
### ----------------------------------------------------------------- ###
677+
# - name: Indexing packages
678+
# id: indexingpackages
679+
# if: env.INDEX_PACKAGES == 'true' && !cancelled()
680+
# run: >
681+
# df -h
654682

655-
cd openwrt
683+
# cd openwrt
656684

657-
let make_process=$(nproc)+2
685+
# let make_process=$(nproc)+2
658686

659-
make package/compile -j${make_process} || make package/compile
660-
-j${make_process} V=s 2>&1 | tee logs/build.log | grep -i -E
661-
"^make.*(error|[12345]...Entering directory)"
662-
### ----------------------------------------------------------------- ###
663-
- name: Installing packages
664-
id: installpackages
665-
if: env.INSTALL_PACKAGES == 'true' && !cancelled()
666-
run: >
667-
df -h
668-
669-
cd openwrt
670-
671-
let make_process=$(nproc)+2
672-
673-
make package/install -j${make_process} || make package/install
674-
-j${make_process} V=s 2>&1 | tee logs/build.log | grep -i -E
675-
"^make.*(error|[12345]...Entering directory)"
676-
### ----------------------------------------------------------------- ###
677-
- name: Indexing packages
678-
id: indexingpackages
679-
if: env.INDEX_PACKAGES == 'true' && !cancelled()
680-
run: >
681-
df -h
682-
683-
cd openwrt
684-
685-
let make_process=$(nproc)+2
686-
687-
make package/index -j${make_process} CONFIG_SIGNED_PACKAGES= || make
688-
package/index -j${make_process} CONFIG_SIGNED_PACKAGES= V=s 2>&1 | tee
689-
logs/build.log | grep -i -E "^make.*(error|[12345]...Entering
690-
directory)"
687+
# make package/index -j${make_process} CONFIG_SIGNED_PACKAGES= || make
688+
# package/index -j${make_process} CONFIG_SIGNED_PACKAGES= V=s 2>&1 | tee
689+
# logs/build.log | grep -i -E "^make.*(error|[12345]...Entering
690+
# directory)"
691691
### ----------------------------------------------------------------- ###
692692
- name: Build Firmware (OpenWRT)
693693
id: compile
@@ -696,7 +696,7 @@ jobs:
696696
cd openwrt
697697
echo -e "$(nproc) thread compile"
698698
let Make_Process=$(nproc)+2
699-
make -j${Make_Process}
699+
make -j${Make_Process} V=s
700700
echo "::set-output name=status::success"
701701
### --------------------------- ###
702702
- name: If Error (Build Firmware)
@@ -707,62 +707,62 @@ jobs:
707707
name: 'OpenWrt_logs${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}'
708708
path: openwrt/logs/
709709
### ----------------------------------------------------------------- ###
710-
- name: Generate Buildinfo (OpenWRT)
711-
id: buildinfo
712-
continue-on-error: true
713-
run: |
714-
cd openwrt
715-
echo -e "$(nproc) thread compile"
716-
let Make_Process=$(nproc)+2
717-
make buildinfo V=s
718-
echo $?
719-
echo "::set-output name=status::success"
710+
# - name: Generate Buildinfo (OpenWRT)
711+
# id: buildinfo
712+
# continue-on-error: true
713+
# run: |
714+
# cd openwrt
715+
# echo -e "$(nproc) thread compile"
716+
# let Make_Process=$(nproc)+2
717+
# make buildinfo V=s
718+
# echo $?
719+
# echo "::set-output name=status::success"
720720
### --------------------------- ###
721-
- name: If Error (Generate Buildinfo)
722-
uses: actions/upload-artifact@main
723-
if: steps.buildinfo.outcome == 'failure'
724-
&& env.UPLOAD_BUILD_LOGS == 'true'
725-
with:
726-
name: 'OpenWrt_logs${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}'
727-
path: openwrt/logs/
728-
### ----------------------------------------------------------------- ###
729-
- name: Generate JSON Overview (OpenWRT)
730-
id: overview
731-
continue-on-error: true
732-
run: |
733-
cd openwrt
734-
echo -e "$(nproc) thread compile"
735-
let Make_Process=$(nproc)+2
736-
make json_overview_image_info V=s
737-
echo $?
738-
echo "::set-output name=status::success"
721+
# - name: If Error (Generate Buildinfo)
722+
# uses: actions/upload-artifact@main
723+
# if: steps.buildinfo.outcome == 'failure'
724+
# && env.UPLOAD_BUILD_LOGS == 'true'
725+
# with:
726+
# name: 'OpenWrt_logs${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}'
727+
# path: openwrt/logs/
728+
### ----------------------------------------------------------------- ###
729+
# - name: Generate JSON Overview (OpenWRT)
730+
# id: overview
731+
# continue-on-error: true
732+
# run: |
733+
# cd openwrt
734+
# echo -e "$(nproc) thread compile"
735+
# let Make_Process=$(nproc)+2
736+
# make json_overview_image_info V=s
737+
# echo $?
738+
# echo "::set-output name=status::success"
739739
### --------------------------- ###
740-
- name: If Error (Generate JSON Overview)
741-
uses: actions/upload-artifact@main
742-
if: steps.overview.outcome == 'failure'
743-
&& env.UPLOAD_BUILD_LOGS == 'true'
744-
with:
745-
name: 'OpenWrt_logs${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}'
746-
path: openwrt/logs/
747-
### ----------------------------------------------------------------- ###
748-
- name: Generate HASH (OpenWRT)
749-
id: hash
750-
continue-on-error: true
751-
run: |
752-
cd openwrt
753-
echo -e "$(nproc) thread compile"
754-
let Make_Process=$(nproc)+2
755-
make checksum V=s
756-
echo $?
757-
echo "::set-output name=status::success"
740+
# - name: If Error (Generate JSON Overview)
741+
# uses: actions/upload-artifact@main
742+
# if: steps.overview.outcome == 'failure'
743+
# && env.UPLOAD_BUILD_LOGS == 'true'
744+
# with:
745+
# name: 'OpenWrt_logs${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}'
746+
# path: openwrt/logs/
747+
### ----------------------------------------------------------------- ###
748+
# - name: Generate HASH (OpenWRT)
749+
# id: hash
750+
# continue-on-error: true
751+
# run: |
752+
# cd openwrt
753+
# echo -e "$(nproc) thread compile"
754+
# let Make_Process=$(nproc)+2
755+
# make checksum V=s
756+
# echo $?
757+
# echo "::set-output name=status::success"
758758
### --------------------------- ###
759-
- name: If Error (Generate HASH)
760-
uses: actions/upload-artifact@main
761-
if: steps.hash.outcome == 'failure'
762-
&& env.UPLOAD_BUILD_LOGS == 'true'
763-
with:
764-
name: 'OpenWrt_logs${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}'
765-
path: openwrt/logs/
759+
# - name: If Error (Generate HASH)
760+
# uses: actions/upload-artifact@main
761+
# if: steps.hash.outcome == 'failure'
762+
# && env.UPLOAD_BUILD_LOGS == 'true'
763+
# with:
764+
# name: 'OpenWrt_logs${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}'
765+
# path: openwrt/logs/
766766
### ----------------------------------------------------------------- ###
767767
- name: OpenWRT Variable Setups
768768
id: VBS

0 commit comments

Comments
 (0)