Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mgqnfoqv7k2w
AutoBuildImmortalWrt
Commits
2bf179a8
Unverified
Commit
2bf179a8
authored
Dec 31, 2024
by
wukongdaily
Committed by
GitHub
Dec 31, 2024
Browse files
新增24.10 for x86-64
parent
89e1e1b7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
0 deletions
+62
-0
.github/workflows/build-x86-64-24.10.yml
.github/workflows/build-x86-64-24.10.yml
+61
-0
x86-64/24.10/build.sh
x86-64/24.10/build.sh
+1
-0
No files found.
.github/workflows/build-x86-64-24.10.yml
0 → 100644
View file @
2bf179a8
name
:
build-x86-64-immortalwrt-24.10
on
:
workflow_dispatch
:
inputs
:
profile
:
description
:
'
请输入要编译固件大小
单位(MB)'
required
:
true
default
:
'
1024'
jobs
:
build
:
runs-on
:
ubuntu-22.04
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v3
-
name
:
Set executable permissions
run
:
chmod +x ${{ github.workspace }}/x86-64/build.sh
-
name
:
Build ImmortalWrt-x86-64-eif
run
:
|
profiles="${{ github.event.inputs.profile }}"
IFS=',' read -r -a profile_array <<< "$profiles"
for profile in "${profile_array[@]}"; do
echo "Building for profile: $profile"
docker run --rm -i \
--user root \
-v "${{ github.workspace }}/bin:/home/build/immortalwrt/bin" \
-v "${{ github.workspace }}/files:/home/build/immortalwrt/files" \
-v "${{ github.workspace }}/x86-64/imm.config:/home/build/immortalwrt/.config" \
-v "${{ github.workspace }}/x86-64/24.10/build.sh:/home/build/immortalwrt/build.sh" \
-e PROFILE=$profile \
immortalwrt/imagebuilder:x86-64-openwrt-24.10.0-rc3 /bin/bash /home/build/immortalwrt/build.sh
done
-
name
:
Create GitHub Release Info
uses
:
softprops/action-gh-release@v2.1.0
with
:
tag_name
:
Autobuild-x86-64
name
:
ImmortWrt-x86-64-efi
body_path
:
${{ github.workspace }}/info.md
draft
:
false
prerelease
:
false
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Upload ImmortWrt as release assets
uses
:
softprops/action-gh-release@v2.1.0
with
:
tag_name
:
Autobuild-x86-64
files
:
${{ github.workspace }}/bin/targets/x86/64/*squashfs-combined-efi.img.gz
token
:
${{ secrets.GITHUB_TOKEN }}
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
x86-64/24.10/build.sh
View file @
2bf179a8
...
...
@@ -10,6 +10,7 @@ echo "$(date '+%Y-%m-%d %H:%M:%S') - 开始编译..."
# 定义所需安装的包列表
PACKAGES
=
""
PACKAGES
=
"
$PACKAGES
curl"
PACKAGES
=
"
$PACKAGES
luci-i18n-diskman-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-firewall-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-filebrowser-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-app-argon-config"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment