-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (33 loc) · 957 Bytes
/
test262.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
name: Run Test262 Benchmarks
on:
workflow_dispatch
jobs:
test:
env:
TERM: screen-256color
OCAML_COMPILER: 4.14
strategy:
fail-fast: false
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Setup OCaml ${{ env.OCAML_COMPILER }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ env.OCAML_COMPILER }}
- name: Install dependencies
run: opam install -y . --deps-only --with-test
- name: Build
run: opam exec -- dune build @install
- name: Run Test262
run: opam exec -- dune exec -- ecma-sl test test/test262/tests/ > test262-results.txt
- name: Upload Results
uses: actions/upload-artifact@v4
with:
name: test262-results
path: test262-results.txt