bling-yshs / Actions-ImmortalWrt

ImmortalWrt 自动编译——利用 Github Action
GNU Affero General Public License v3.0
35 stars 96 forks source link

Build Error #1

Open adibindrianto opened 8 months ago

adibindrianto commented 8 months ago

Screenshot_2024-03-30-19-43-51-05 How to fix it?

bling-yshs commented 8 months ago

You need to edit the file .github/workflows/build.yml. Find the following section:

- name: Build immortalwrtARM
  run: |
    cd $REPO_NAME
    make -j$(nproc)
    pwd
    ls
# 默认make -j$(nproc),代表多线程编译。如果求稳想看报错信息,可以使用make -j1 V=99代替

Change make -j$(nproc) to make -j1 V=99. This is mentioned in the code annotation above. Only then can you see the specific error information

Finally, I haven't compiled ImmortalWrt for a long time, so I'm not very familiar with it anymore. You can look for other Github action repositories while waiting for the compilation.

adibindrianto commented 8 months ago

not working, same problem

bling-yshs commented 8 months ago

not working, same problem

Sorry, I found the reason for this problem, it is because the github action compilation environment is incomplete. I have now fixed it and started a compilation action using your .config. It is now compiling the firmware (if you still need it). Here is the link:

https://github.com/prettyYs/Actions-ImmortalWrt/actions/runs/8495288153/job/23271401062