Skip to content

Commit d5eeac6

Browse files
committed
Arm builds are failing
1 parent a8ca592 commit d5eeac6

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.github/workflows/build-arm.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ jobs:
1919
base_image: raspios_lite:latest
2020
commands: |
2121
cd /
22+
df -h
2223
sudo apt update
2324
sudo apt install -y xorg-dev
2425
sudo apt clean
2526
sudo rm -rf /var/lib/apt/lists/*
26-
wget -nv https://go.dev/dl/go1.23.4.linux-armv6l.tar.gz
27-
tar -xzf go1.23.4.linux-armv6l.tar.gz
28-
rm go1.23.4.linux-armv6l.tar.gz
27+
wget -nv https://go.dev/dl/go1.25.1.linux-armv6l.tar.gz
28+
tar -xzf go1.25.1.linux-armv6l.tar.gz
29+
rm go1.25.1.linux-armv6l.tar.gz
2930
export GOROOT=/go
3031
cd /go2tv_dir
3132
/go/bin/go build -tags migrated_fynedo -ldflags "-s -w" -o go2tv cmd/go2tv/go2tv.go

cmd/go2tv-lite/go2tv.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,12 @@ func main() {
6161
}
6262

6363
func run() error {
64-
var absMediaFile, mediaType string
65-
var mediaFile any
66-
var isSeek bool
67-
var s *httphandlers.HTTPserver
64+
var (
65+
absMediaFile, mediaType string
66+
mediaFile any
67+
isSeek bool
68+
s *httphandlers.HTTPserver
69+
)
6870

6971
exitCTX, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
7072
defer cancel()

cmd/go2tv/go2tv.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ func main() {
5555
}
5656

5757
func run() error {
58-
var absMediaFile, mediaType string
59-
var mediaFile any
60-
var isSeek bool
58+
var (
59+
absMediaFile, mediaType string
60+
mediaFile any
61+
isSeek bool
62+
)
6163

6264
exitCTX, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
6365
defer cancel()

0 commit comments

Comments
 (0)