19
19
submodules : true
20
20
- uses : actions/setup-go@v5
21
21
with :
22
- go-version : ' 1.22.3 '
22
+ go-version : ' 1.23.4 '
23
23
- run : echo "VERSION=$(echo ${{ github.event.release.tag_name }} | cut -c 2-)" >> $GITHUB_ENV
24
24
- run : sudo apt-get update -q
25
25
- run : sudo apt-get install libopenal-dev xorg-dev libgl1-mesa-dev libwayland-dev libxkbcommon-dev -y --allow-unauthenticated
@@ -36,30 +36,32 @@ jobs:
36
36
asset_paths : ' ["./Ludo-*.tar.gz*", "./*.deb"]'
37
37
38
38
build_linux_wayland_arm :
39
- runs-on : ubuntu-22 .04
39
+ runs-on : ubuntu-24 .04
40
40
steps :
41
41
- uses : actions/checkout@v4
42
42
with :
43
43
submodules : true
44
44
- uses : actions/setup-go@v5
45
45
with :
46
- go-version : ' 1.22.3 '
46
+ go-version : ' 1.23.4 '
47
47
- run : echo "VERSION=$(echo ${{ github.event.release.tag_name }} | cut -c 2-)" >> $GITHUB_ENV
48
48
- run : sudo apt update -q
49
49
- run : sudo apt install binutils-multiarch
50
50
- run : sudo dpkg --add-architecture armhf
51
+ - run : sudo rm -rf /etc/apt/sources.list.d/*s
51
52
- run : echo "" | sudo tee /etc/apt/sources.list
52
- - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
53
- - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
54
- - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
55
- - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
56
- - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
57
- - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
53
+ - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
54
+ - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports noble-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
55
+ - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
56
+ - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports noble-security main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
57
+ - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
58
+ - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
59
+ - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
60
+ - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
58
61
- run : sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6B05F25D762E3157
59
62
- run : sudo apt update -q
60
- - run : sudo apt install -f libgl1-mesa-dev:amd64 libc6-dev:armhf gcc-arm-linux-gnueabihf libopenal-dev:armhf libgl1-mesa-dev:armhf libxcursor-dev:armhf libxrandr-dev:armhf libxinerama-dev:armhf libxi-dev:armhf libwayland-dev:armhf libxkbcommon-dev:armhf -y --allow-unauthenticated
61
- - run : export PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig/
62
- - run : GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 CC=arm-linux-gnueabihf-gcc go build -tags wayland -v
63
+ - run : sudo apt install -f libc6-dev:armhf gcc-arm-linux-gnueabihf libopenal-dev:armhf libgl1-mesa-dev:armhf libxcursor-dev:armhf libxrandr-dev:armhf libxinerama-dev:armhf libxi-dev:armhf libwayland-dev:armhf libxkbcommon-dev:armhf -y --allow-unauthenticated
64
+ - run : PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig/ GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 CC=arm-linux-gnueabihf-gcc go build -tags wayland -v
63
65
- run : OS=Linux ARCH=arm DISPDRIVER=wayland VERSION=$VERSION make tar
64
66
- run : OS=Linux ARCH=arm DISPDRIVER=wayland VERSION=$VERSION make deb
65
67
- run : sha256sum Ludo-Linux-wayland-arm-${VERSION}.tar.gz > Ludo-Linux-wayland-arm-${VERSION}.tar.gz.sha256
79
81
submodules : true
80
82
- uses : actions/setup-go@v5
81
83
with :
82
- go-version : ' 1.22.3 '
84
+ go-version : ' 1.23.4 '
83
85
- run : echo "VERSION=$(echo ${{ github.event.release.tag_name }} | cut -c 2-)" >> $GITHUB_ENV
84
86
- run : sudo apt-get update -q
85
87
- run : sudo apt-get install libopenal-dev xorg-dev libgl1-mesa-dev -y --allow-unauthenticated
@@ -96,30 +98,32 @@ jobs:
96
98
asset_paths : ' ["./Ludo-*.tar.gz*", "./*.deb"]'
97
99
98
100
build_linux_x11_arm :
99
- runs-on : ubuntu-20 .04
101
+ runs-on : ubuntu-24 .04
100
102
steps :
101
103
- uses : actions/checkout@v4
102
104
with :
103
105
submodules : true
104
106
- uses : actions/setup-go@v5
105
107
with :
106
- go-version : ' 1.22.3 '
108
+ go-version : ' 1.23.4 '
107
109
- run : echo "VERSION=$(echo ${{ github.event.release.tag_name }} | cut -c 2-)" >> $GITHUB_ENV
108
110
- run : sudo apt update -q
109
111
- run : sudo apt install binutils-multiarch
110
112
- run : sudo dpkg --add-architecture armhf
113
+ - run : sudo rm -rf /etc/apt/sources.list.d/*s
111
114
- run : echo "" | sudo tee /etc/apt/sources.list
112
- - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
113
- - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
114
- - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
115
- - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
116
- - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
117
- - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
115
+ - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
116
+ - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports noble-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
117
+ - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
118
+ - run : echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports noble-security main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
119
+ - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
120
+ - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
121
+ - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
122
+ - run : echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
118
123
- run : sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6B05F25D762E3157
119
124
- run : sudo apt update -q
120
- - run : sudo apt install -f libgl1-mesa-dev:amd64 libxxf86vm-dev:armhf libc6-dev:armhf gcc-arm-linux-gnueabihf libopenal-dev:armhf libgl1-mesa-dev:armhf libxcursor-dev:armhf libxrandr-dev:armhf libxinerama-dev:armhf libxi-dev:armhf -y --allow-unauthenticated
121
- - run : export PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig/
122
- - run : GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 CC=arm-linux-gnueabihf-gcc go build -tags x11 -v
125
+ - run : sudo apt install -f libxxf86vm-dev:armhf libc6-dev:armhf gcc-arm-linux-gnueabihf libopenal-dev:armhf libgl1-mesa-dev:armhf libxcursor-dev:armhf libxrandr-dev:armhf libxinerama-dev:armhf libxi-dev:armhf -y --allow-unauthenticated
126
+ - run : PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig/ GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 CC=arm-linux-gnueabihf-gcc go build -tags x11 -v
123
127
- run : OS=Linux ARCH=arm DISPDRIVER=x11 VERSION=$VERSION make tar
124
128
- run : OS=Linux ARCH=arm DISPDRIVER=x11 VERSION=$VERSION make deb
125
129
- run : sha256sum Ludo-Linux-x11-arm-${VERSION}.tar.gz > Ludo-Linux-x11-arm-${VERSION}.tar.gz.sha256
@@ -139,7 +143,7 @@ jobs:
139
143
submodules : true
140
144
- uses : actions/setup-go@v5
141
145
with :
142
- go-version : ' 1.22.3 '
146
+ go-version : ' 1.23.4 '
143
147
- run : echo "VERSION=$(echo ${{ github.event.release.tag_name }} | cut -c 2-)" >> $GITHUB_ENV
144
148
- run : echo "/Users/runner/go/bin" >> $GITHUB_PATH
145
149
- run : go install honnef.co/go/tools/cmd/staticcheck@latest
@@ -173,7 +177,7 @@ jobs:
173
177
submodules : true
174
178
- uses : actions/setup-go@v5
175
179
with :
176
- go-version : ' 1.22.3 '
180
+ go-version : ' 1.23.4 '
177
181
- run : echo "VERSION=$(echo ${{ github.event.release.tag_name }} | cut -c 2-)" >> $GITHUB_ENV
178
182
- run : choco install wget make hashdeep --ignore-checksums
179
183
- run : wget --no-check-certificate http://www.openal-soft.org/openal-binaries/openal-soft-1.21.0-bin.zip
0 commit comments