mirror of
https://github.com/db9979/sshtermy.git
synced 2026-12-05 20:34:07 +01:00
Merge pull request #50 from db9979/claude/project-thread-01j9tr
sshTermy auf der ClockworkPi uConsole
This commit is contained in:
13 files changed
+140
-35
No files matched your search
@@ -17,8 +17,8 @@ jobs:
|
||||
run: cd third_party/vt && go test ./...
|
||||
- name: Cross-Compile
|
||||
run: |
|
||||
for t in windows/arm64 windows/386 windows/amd64 darwin/arm64 darwin/amd64 linux/amd64; do
|
||||
CGO_ENABLED=0 GOOS=${t%/*} GOARCH=${t#*/} go build -o /dev/null ./cmd/sshtermy
|
||||
for t in windows/arm64 windows/386 windows/amd64 darwin/arm64 darwin/amd64 linux/amd64 linux/arm64 linux/arm linux/riscv64; do
|
||||
CGO_ENABLED=0 GOARM=7 GOOS=${t%/*} GOARCH=${t#*/} go build -o /dev/null ./cmd/sshtermy
|
||||
done
|
||||
|
||||
packaging:
|
||||
|
||||
@@ -48,23 +48,25 @@ jobs:
|
||||
go run ./tools/changelog -out internal/changelog/CHANGELOG.md -notes notes.md
|
||||
head -20 internal/changelog/CHANGELOG.md
|
||||
|
||||
- name: Bauen (windows arm64/386/amd64, darwin arm64/amd64, linux amd64/arm64)
|
||||
- name: Bauen (windows arm64/386/amd64, darwin arm64/amd64, linux amd64/arm64/arm/riscv64)
|
||||
env:
|
||||
UPDATE_PUBKEY: ${{ vars.UPDATE_PUBKEY }}
|
||||
run: |
|
||||
PKG=github.com/db9979/sshtermy/internal/version
|
||||
LDF="-s -w -X $PKG.Version=${{ steps.v.outputs.version }} -X $PKG.Commit=${GITHUB_SHA::7} -X $PKG.Date=$(date -u +%Y-%m-%dT%H:%M:%SZ) -X $PKG.UpdatePubKey=$UPDATE_PUBKEY"
|
||||
mkdir -p dist
|
||||
for t in windows/arm64 windows/386 windows/amd64 darwin/arm64 darwin/amd64 linux/amd64 linux/arm64; do
|
||||
for t in windows/arm64 windows/386 windows/amd64 darwin/arm64 darwin/amd64 linux/amd64 linux/arm64 linux/arm linux/riscv64; do
|
||||
os=${t%/*}; arch=${t#*/}; ext=""; [ "$os" = windows ] && ext=".exe"
|
||||
CGO_ENABLED=0 GOOS=$os GOARCH=$arch go build -trimpath -ldflags "$LDF" -o "dist/sshtermy_${os}_${arch}${ext}" ./cmd/sshtermy
|
||||
# linux/arm = 32-Bit-ARMv7 (Raspberry Pi OS armhf, z. B. uConsole mit CM3/CM4)
|
||||
CGO_ENABLED=0 GOARM=7 GOOS=$os GOARCH=$arch go build -trimpath -ldflags "$LDF" -o "dist/sshtermy_${os}_${arch}${ext}" ./cmd/sshtermy
|
||||
done
|
||||
cd dist && sha256sum sshtermy_* > checksums.txt && cat checksums.txt
|
||||
|
||||
- name: Debian-Pakete (amd64, arm64)
|
||||
- name: Debian-Pakete (amd64, arm64, armhf, riscv64)
|
||||
run: |
|
||||
for a in amd64 arm64; do
|
||||
packaging/deb.sh ${{ steps.v.outputs.version }} $a dist/sshtermy_linux_$a dist
|
||||
for a in amd64 arm64 armhf riscv64; do
|
||||
b=$a; [ $a = armhf ] && b=arm
|
||||
packaging/deb.sh ${{ steps.v.outputs.version }} $a dist/sshtermy_linux_$b dist
|
||||
done
|
||||
cd dist && sha256sum sshtermy_* > checksums.txt && cat checksums.txt
|
||||
|
||||
|
||||
Reference in new issue
Block a user