-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (49 loc) · 1.76 KB
/
integration-tests-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Integration Tests Build
on:
schedule:
- cron: '0 10 * * *'
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.74.0
- uses: actions/[email protected]
with:
node-version: 18.16.0
- name: Install Node.js dependencies
run: |
npm ci && npx tsc --version
- name: Generate interfaces.ts
run: |
npm run gen-dom-interfaces
- name: Build bindings
run: |
npm run bindings
- name: Run Integration Tests
run: |
npm run headless-bin -- ./fixtures/simple.xsml
npm run headless-bin -- ./fixtures/spatial-element.xsml
npm run headless-bin -- ./fixtures/spatial-polyhedra-element.xsml
npm run headless-bin -- ./fixtures/esm/script-with-src.xsml
npm run headless-bin -- ./fixtures/esm/script-inline.xsml
npm run headless-bin -- ./fixtures/esm/http-imports.xsml
npm run headless-bin -- ./fixtures/custom-loader/custom-resolve.xsml
npm run headless-bin -- ./fixtures/custom-loader/custom-load.xsml
npm run headless-bin -- ./fixtures/scripts-in-xml/inline-scripts.xsml
npm run headless-bin -- ./fixtures/scripts-in-xml/external-async-scripts.xsml
npm run headless-bin -- ./fixtures/scripts-in-xml/external-blocking-scripts.xsml
npm run headless-bin -- ./fixtures/css/spatial-basic.xsml
npm run headless-bin -- ./fixtures/css/spatial-material-bumpmap.xsml
npm run headless-bin -- ./fixtures/dom/globals-in-script.xsml