Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ThermalEng authored Jan 1, 2025
1 parent 202b546 commit fd0d815
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- name: 多线程编译 ImmortalWrt (Build ImmortalWrt multithreading)
if: ${{inputs.multithreading == true}}
working-directory: ImmortalWrt
run: make -j$(nproc) V=s
run: make -j$(nproc)

- name: 单线程编译 ImmortalWrt (Build ImmortalWrt single thread)
if: ${{inputs.multithreading == false}}
Expand All @@ -106,6 +106,19 @@ jobs:
name: 🚀 编译 (Build) - SSH
runs-on: ubuntu-latest
steps:
- name: 释放磁盘空间
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
swap-storage: true
- name: 下载编译所需的依赖 (Install the software packages required for compilation)
run: |
sudo apt update
Expand Down Expand Up @@ -137,7 +150,7 @@ jobs:
- name: 多线程编译 ImmortalWrt (Build ImmortalWrt multithreading)
if: ${{inputs.multithreading == true}}
working-directory: ImmortalWrt
run: make -j$(nproc) V=s
run: make -j$(nproc)

- name: 单线程编译 ImmortalWrt (Build ImmortalWrt single thread)
if: ${{inputs.multithreading == false}}
Expand Down

0 comments on commit fd0d815

Please sign in to comment.