mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-08 13:29:53 +00:00
Add linux arm/mipsle build targets for embedded devices
This commit is contained in:
parent
41cae19aee
commit
0d7132d94a
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
uses: gerred/actions/current-time@master
|
uses: gerred/actions/current-time@master
|
||||||
id: current-time
|
id: current-time
|
||||||
|
|
||||||
- name: Build
|
- name: Build amd64
|
||||||
uses: izumin5210/action-go-crossbuild@v1.0.0
|
uses: izumin5210/action-go-crossbuild@v1.0.0
|
||||||
env:
|
env:
|
||||||
TIME: "${{ steps.current-time.outputs.time }}"
|
TIME: "${{ steps.current-time.outputs.time }}"
|
||||||
@ -49,6 +49,18 @@ jobs:
|
|||||||
os: windows,linux,darwin
|
os: windows,linux,darwin
|
||||||
package: ./cmd
|
package: ./cmd
|
||||||
|
|
||||||
|
- name: Build embedded
|
||||||
|
uses: izumin5210/action-go-crossbuild@v1.0.0
|
||||||
|
env:
|
||||||
|
TIME: "${{ steps.current-time.outputs.time }}"
|
||||||
|
with:
|
||||||
|
name: hysteria
|
||||||
|
arch: arm,mipsle
|
||||||
|
dest: ./dist/
|
||||||
|
ldflags: -w -s -X main.appVersion=${{ env.GIT_TAG_NAME }} -X main.appCommit=${{ github.sha }} -X main.appDate=${{ env.TIME }}
|
||||||
|
os: linux
|
||||||
|
package: ./cmd
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: meeDamian/github-release@2.0
|
uses: meeDamian/github-release@2.0
|
||||||
with:
|
with:
|
||||||
@ -58,4 +70,6 @@ jobs:
|
|||||||
files: >
|
files: >
|
||||||
./dist/hysteria_windows_amd64.zip
|
./dist/hysteria_windows_amd64.zip
|
||||||
./dist/hysteria_linux_amd64.tar.gz
|
./dist/hysteria_linux_amd64.tar.gz
|
||||||
./dist/hysteria_darwin_amd64.zip
|
./dist/hysteria_darwin_amd64.zip
|
||||||
|
./dist/hysteria_linux_arm.tar.gz
|
||||||
|
./dist/hysteria_linux_mipsle.tar.gz
|
Loading…
x
Reference in New Issue
Block a user