1515
1616jobs :
1717 build-linux :
18- runs-on : ubuntu-latest
18+ runs-on : ubuntu-24.04
1919 steps :
2020 - uses : actions/checkout@v4
2121 - name : Setup environment
@@ -37,23 +37,20 @@ jobs:
3737 echo "BUILD_NAME=inav-configurator_linux_x64_${VERSION}_${BUILD_SUFFIX}" >> $GITHUB_ENV
3838 - uses : actions/setup-node@v4
3939 with :
40- node-version : 20
40+ node-version : 22
4141 # check-latest: true
42- # cache: 'npm'
4342 - name : Install dependencies
4443 run : sudo apt-get update && sudo apt-get -y install dpkg fakeroot rpm build-essential libudev-dev
4544 - name : Install deps
4645 uses : nick-fields/retry@v3
4746 with :
4847 max_attempts : 3
4948 retry_on : error
50- command : npm install --foreground-scripts
49+ command : yarn install
5150 timeout_minutes : 10
5251 on_retry_command : rm -rfv node_modules
53- - name : Remove other SITL binary
54- run : rm -v resources/sitl/linux/arm64/inav_SITL
5552 - name : Build Linux
56- run : npm run make
53+ run : yarn run make
5754 - name : Upload Linux deb
5855 uses : actions/upload-artifact@v4
5956 with :
7168 path : ./out/make/zip/linux/x64/*.zip
7269
7370 build-linux-aarch64 :
74- runs-on : ubuntu-24.04-arm
71+ runs-on : ubuntu-24.04
7572 steps :
7673 - uses : actions/checkout@v4
7774 - name : Setup environment
@@ -93,25 +90,20 @@ jobs:
9390 echo "BUILD_NAME=inav-configurator_linux_aarch64_${VERSION}_${BUILD_SUFFIX}" >> $GITHUB_ENV
9491 - uses : actions/setup-node@v4
9592 with :
96- node-version : 20
93+ node-version : 22
9794 # check-latest: true
98- # cache: 'npm'
9995 - name : Install dependencies
10096 run : sudo apt-get update && sudo apt-get -y install dpkg fakeroot rpm build-essential libudev-dev
10197 - name : Install deps
10298 uses : nick-fields/retry@v3
10399 with :
104100 max_attempts : 3
105101 retry_on : error
106- command : npm install --foreground-scripts
102+ command : yarn install
107103 timeout_minutes : 10
108104 on_retry_command : rm -rfv node_modules
109- - name : Remove other SITL binary
110- run : |
111- mv -fv resources/sitl/linux/arm64/inav_SITL resources/sitl/linux/inav_SITL
112- rmdir -v resources/sitl/linux/arm64
113105 - name : Build Linux
114- run : npm run make
106+ run : yarn run make -- --arch="arm64"
115107 - name : Upload Linux deb
116108 uses : actions/upload-artifact@v4
117109 with :
@@ -150,9 +142,8 @@ jobs:
150142 echo "BUILD_NAMEarm64=inav-configurator_MacOS_arm64_${VERSION}_${BUILD_SUFFIX}" >> $GITHUB_ENV
151143 - uses : actions/setup-node@v4
152144 with :
153- node-version : 20
145+ node-version : 22
154146 # check-latest: true
155- # cache: 'npm'
156147 # Workaround due to a bug in node-gyp: https://github.com/electron/rebuild/issues/1116
157148 - name : Install Setuptools
158149 run : python3 -m pip install --break-system-packages setuptools
@@ -161,11 +152,11 @@ jobs:
161152 with :
162153 max_attempts : 3
163154 retry_on : error
164- command : npm install --foreground-scripts
155+ command : yarn install --foreground-scripts
165156 timeout_minutes : 10
166157 on_retry_command : rm -rfv node_modules
167158 - name : Build MacOS arm64
168- run : npm run make -- --arch="arm64"
159+ run : yarn run make -- --arch="arm64"
169160 - name : Upload MacOS arm64 zip
170161 uses : actions/upload-artifact@v4
171162 with :
@@ -199,9 +190,8 @@ jobs:
199190 echo "BUILD_NAMEx64=inav-configurator_MacOS_x64_${VERSION}_${BUILD_SUFFIX}" >> $GITHUB_ENV
200191 - uses : actions/setup-node@v4
201192 with :
202- node-version : 20
193+ node-version : 22
203194 # check-latest: true
204- # cache: 'npm'
205195 # Workaround due to a bug in node-gyp: https://github.com/electron/rebuild/issues/1116
206196 - name : Install Setuptools
207197 run : python3 -m pip install --break-system-packages setuptools
@@ -210,11 +200,11 @@ jobs:
210200 with :
211201 max_attempts : 3
212202 retry_on : error
213- command : npm install --foreground-scripts
203+ command : yarn install --foreground-scripts
214204 timeout_minutes : 10
215205 on_retry_command : rm -rfv node_modules
216206 - name : Build MacOS x64
217- run : npm run make -- --arch="x64"
207+ run : yarn run make -- --arch="x64"
218208 - name : Upload MacOS x64 zip
219209 uses : actions/upload-artifact@v4
220210 with :
@@ -252,8 +242,7 @@ jobs:
252242 shell : bash
253243 - uses : actions/setup-node@v4
254244 with :
255- node-version : 20
256- # cache: 'npm'
245+ node-version : 22
257246 -
uses :
engineerd/[email protected] 258247 with :
259248 name : " Wix Toolset 3.1.4"
@@ -264,11 +253,11 @@ jobs:
264253 with :
265254 max_attempts : 3
266255 retry_on : error
267- command : npm install --foreground-scripts
256+ command : yarn install --foreground-scripts
268257 timeout_minutes : 10
269258 on_retry_command : rm -rfv node_modules
270259 - name : Build Win x64
271- run : npm run make -- --arch="x64"
260+ run : yarn run make -- --arch="x64"
272261 - name : Upload Windows x64 zip
273262 uses : actions/upload-artifact@v4
274263 with :
@@ -306,8 +295,7 @@ jobs:
306295 shell : bash
307296 - uses : actions/setup-node@v4
308297 with :
309- node-version : 20
310- # cache: 'npm'
298+ node-version : 22
311299 -
uses :
engineerd/[email protected] 312300 with :
313301 name : " Wix Toolset 3.1.4"
@@ -318,11 +306,11 @@ jobs:
318306 with :
319307 max_attempts : 3
320308 retry_on : error
321- command : npm install --foreground-scripts
309+ command : yarn install --foreground-scripts
322310 timeout_minutes : 10
323311 on_retry_command : rm -rfv node_modules
324312 - name : Build Win32
325- run : npm run make -- --arch="ia32"
313+ run : yarn run make -- --arch="ia32"
326314 - name : Upload Windows ia32 zip
327315 uses : actions/upload-artifact@v4
328316 with :
0 commit comments