66 branches :
77 - main
88
9+ env :
10+ LINUX_SYSROOT_CACHE_KEY : linux-sysroot-bionic-amd64
11+
912# Keep the job graph below in sync with the Mermaid workflow diagram in README.md.
1013jobs :
1114 windows-hostlibs :
@@ -240,7 +243,7 @@ jobs:
240243 run : python .\scripts\pipeline.py avalonia-test -v --target ${{ matrix.avalonia_target }}
241244
242245 linux-sysroot :
243- runs-on : ubuntu-22.04
246+ runs-on : ubuntu-latest
244247
245248 steps :
246249 - name : Checkout repository
@@ -251,9 +254,11 @@ jobs:
251254
252255 - name : Build and cache Linux sysroot
253256 uses : ./.github/actions/sysroot-cache
257+ with :
258+ cache-key : ${{ env.LINUX_SYSROOT_CACHE_KEY }}
254259
255260 linux-hostlibs :
256- runs-on : ubuntu-22.04
261+ runs-on : ubuntu-latest
257262 needs :
258263 - linux-sysroot
259264
@@ -267,6 +272,8 @@ jobs:
267272 - name : Restore Linux sysroot
268273 id : restore_sysroot
269274 uses : ./.github/actions/sysroot-restore
275+ with :
276+ cache-key : ${{ env.LINUX_SYSROOT_CACHE_KEY }}
270277
271278 - name : Compute hostlibs cache key
272279 id : hostlibs_key
@@ -306,7 +313,7 @@ jobs:
306313 if-no-files-found : error
307314
308315 linux-matrix-test :
309- runs-on : ubuntu-22.04
316+ runs-on : ubuntu-latest
310317 needs :
311318 - linux-sysroot
312319 - linux-hostlibs
@@ -320,6 +327,8 @@ jobs:
320327
321328 - name : Restore Linux sysroot
322329 uses : ./.github/actions/sysroot-restore
330+ with :
331+ cache-key : ${{ env.LINUX_SYSROOT_CACHE_KEY }}
323332
324333 - name : Install LLVM
325334 run : |
@@ -343,7 +352,7 @@ jobs:
343352 run : python ./scripts/pipeline.py matrix -v
344353
345354 linux-skia :
346- runs-on : ubuntu-22.04
355+ runs-on : ubuntu-latest
347356 needs :
348357 - linux-sysroot
349358 strategy :
@@ -366,6 +375,8 @@ jobs:
366375 - name : Restore Linux sysroot
367376 id : restore_sysroot
368377 uses : ./.github/actions/sysroot-restore
378+ with :
379+ cache-key : ${{ env.LINUX_SYSROOT_CACHE_KEY }}
369380
370381 - name : Compute skia cache key
371382 id : skia_key
@@ -402,7 +413,7 @@ jobs:
402413 if-no-files-found : error
403414
404415 linux-link-avalonia :
405- runs-on : ubuntu-22.04
416+ runs-on : ubuntu-latest
406417 needs :
407418 - linux-sysroot
408419 - linux-hostlibs
@@ -425,6 +436,8 @@ jobs:
425436 - name : Restore Linux sysroot
426437 id : restore_sysroot
427438 uses : ./.github/actions/sysroot-restore
439+ with :
440+ cache-key : ${{ env.LINUX_SYSROOT_CACHE_KEY }}
428441
429442 - name : Compute hostlibs cache key
430443 id : hostlibs_key
@@ -456,7 +469,7 @@ jobs:
456469 run : python ./scripts/pipeline.py link-avalonia -v --target ${{ matrix.avalonia_target }} --os linux --sysroot "${{ steps.restore_sysroot.outputs.sysroot-path }}"
457470
458471 - name : Run Avalonia App Host package tests
459- run : python ./scripts/pipeline.py avalonia-test -v --target ${{ matrix.avalonia_target }}
472+ run : python ./scripts/pipeline.py avalonia-test -v --target ${{ matrix.avalonia_target }} --sysroot "${{ steps.restore_sysroot.outputs.sysroot-path }}"
460473
461474 - name : Upload Linux Avalonia apphost artifact
462475 uses : actions/upload-artifact@v6
0 commit comments