Skip to content

Commit 5930719

Browse files
committed
ci: test on Servo
1 parent bbb5dde commit 5930719

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/checks.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,32 @@ jobs:
184184
- run: node --run playwright -- install --with-deps "${{ matrix.browser }}"
185185
- run: node --run "test:${{ matrix.browser }}:playwright"
186186

187+
servo:
188+
runs-on: ubuntu-latest
189+
name: 'Servo ${{ matrix.servo-version }}'
190+
191+
strategy:
192+
matrix:
193+
servo-version: [0.0.2]
194+
195+
steps:
196+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
197+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
198+
with:
199+
run_install: false
200+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
201+
with:
202+
node-version-file: '.nvmrc'
203+
cache: pnpm
204+
registry-url: 'https://registry.npmjs.org'
205+
- run: wget "https://github.com/servo/servo/releases/download/v${{ matrix.servo-version }}/servo-x86_64-linux-gnu.tar.gz"
206+
- run: tar -xf servo-x86_64-linux-gnu.tar.gz
207+
- run: sudo ln -s "$GITHUB_WORKSPACE/servo/servo" /usr/bin/
208+
- run: sudo apt update
209+
- run: sudo apt install gstreamer1.0-plugins-bad
210+
- run: pnpm i --frozen-lockfile
211+
- run: node --run test:servo
212+
187213
bun:
188214
runs-on: ubuntu-22.04
189215
name: 'Test on Bun'

0 commit comments

Comments
 (0)