Skip to content

Commit f32840b

Browse files
committed
ci(scrolling): validate native viewport contracts on Linux
1 parent 2eeb2f8 commit f32840b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎.github/workflows/native-display-contract.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
default: all
2121
options:
2222
- all
23+
- linux
2324
- macos
2425
- windows
2526

@@ -33,9 +34,10 @@ jobs:
3334
matrix:
3435
include: >-
3536
${{ fromJSON(
37+
inputs.platform == 'linux' && '[{"runner":"ubuntu-24.04","target":"x86_64-unknown-linux-gnu"}]' ||
3638
inputs.platform == 'macos' && '[{"runner":"macos-latest","target":"aarch64-apple-darwin"}]' ||
3739
inputs.platform == 'windows' && '[{"runner":"windows-latest","target":"x86_64-pc-windows-msvc"}]' ||
38-
'[{"runner":"macos-latest","target":"aarch64-apple-darwin"},{"runner":"windows-latest","target":"x86_64-pc-windows-msvc"}]'
40+
'[{"runner":"ubuntu-24.04","target":"x86_64-unknown-linux-gnu"},{"runner":"macos-latest","target":"aarch64-apple-darwin"},{"runner":"windows-latest","target":"x86_64-pc-windows-msvc"}]'
3941
) }}
4042
runs-on: ${{ matrix.runner }}
4143
timeout-minutes: 150
@@ -44,6 +46,9 @@ jobs:
4446
RUST_BACKTRACE: 1
4547
steps:
4648
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
49+
- name: Install Linux build and headless display dependencies
50+
if: runner.os == 'Linux'
51+
run: scripts/ci/setup-linux.sh ecosystem
4752
- name: Install macOS build dependency
4853
if: runner.os == 'macOS'
4954
run: brew install pkg-config

0 commit comments

Comments
 (0)