forked from jerryscript-project/jerryscript
-
Notifications
You must be signed in to change notification settings - Fork 0
147 lines (132 loc) · 4.84 KB
/
gh-actions.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
name: JerryScript CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
RUNNER: tools/run-tests.py
jobs:
Checks:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Initializtaion
run: sudo apt-get install doxygen vera++ cppcheck pylint pylint python-serial -q
- name: Signed-off
run: $RUNNER --check-signed-off=gh-actions
- name: Doxygen
run: $RUNNER --check-doxygen
- name: Vera++
run: $RUNNER --check-vera
- name: License
run: $RUNNER --check-license
- name: Magic strings
run: $RUNNER --check-magic-strings
- name: Pylint
run: $RUNNER --check-pylint
- name: Cppcheck
run: $RUNNER --check-cppcheck
Linux_x86-64_Build_Correctness_Debugger_Tests:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Correctness - jerry-tests
run: $RUNNER --jerry-tests -q
- name: Debugger Tests
run: $RUNNER --jerry-debugger -q
Linux_x86_cpointer-32bit_Build_Correctness_Tests:
runs-on: ubuntu-18.04
env:
BUILD_OPTIONS: --buildoptions=--compile-flag=-m32,--cpointer-32bit=on -q
steps:
- uses: actions/checkout@v1
- name: Initializtaion
run: sudo apt-get install gcc-multilib
- name: Correctness - jerry-tests
run: $RUNNER --jerry-tests $BUILD_OPTIONS -q
OSX_x86-64_Build_Correctness_Unit_Tests:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v1
- name: Correctness - jerry-tests
run: $RUNNER --jerry-tests -q
- name: Unit Tests
run: $RUNNER --unittests -q
Linux_x86-64_Build_Option_Tests:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Initializtaion
run: sudo apt-get install gcc-multilib
- name: Buildoption tests
run: $RUNNER --buildoption-test
Conformance_Tests_ES5_1:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Test262 - ES5.1
run: $RUNNER --test262
Conformance_Tests_ES2015:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Test262 - ES2015
run: $RUNNER --test262-es2015 update
- uses: actions/upload-artifact@v2
if: success() || failure()
with:
name: Test262-ES2015-results
path: build/tests/test262_tests_es2015/local/bin/test262.report
Conformance_Tests_ESNext_A:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Test262 - ESNext (built-ins,annexB,harness,intl402)
run: $RUNNER --test262-esnext update --test262-test-list built-ins,annexB,harness,intl402
- uses: actions/upload-artifact@v2
if: success() || failure()
with:
name: Test262-ESNext-results-A
path: build/tests/test262_tests_esnext/local/bin/test262.report
Conformance_Tests_ESNext_B:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Test262 - ESNext (language)
run: $RUNNER --test262-esnext update --test262-test-list language
- uses: actions/upload-artifact@v2
if: success() || failure()
with:
name: Test262-ESNext-results-B
path: build/tests/test262_tests_esnext/local/bin/test262.report
Unit_Tests:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Unit Tests
run: $RUNNER --unittests -q
ASAN_Tests:
runs-on: ubuntu-18.04
env:
ASAN_OPTIONS: detect_stack_use_after_return=1:check_initialization_order=true:strict_init_order=true
SKIP_LIST: --skip-list=parser-oom.js,parser-oom2.js,stack-limit.js,regression-test-issue-2190.js,regression-test-issue-2258-2963.js,regression-test-issue-2448.js,regression-test-issue-2905.js,regression-test-issue-3785.js
BUILD_OPTIONS: --buildoptions=--stack-limit=0,--compile-flag=-fsanitize=address,--compile-flag=-m32,--compile-flag=-fno-omit-frame-pointer,--compile-flag=-fno-common,--compile-flag=-O2,--debug,--system-allocator=on,--linker-flag=-fuse-ld=gold
steps:
- uses: actions/checkout@v1
- name: Initializtaion
run: sudo apt-get install gcc-multilib
- name: ASAN - jerry-tests
run: $RUNNER --jerry-tests $SKIP_LIST $BUILD_OPTIONS -q
UBSAN_Tests:
runs-on: ubuntu-18.04
env:
UBSAN_OPTIONS: print_stacktrace=1
SKIP_LIST: --skip-list=parser-oom.js,parser-oom2.js
BUILD_OPTIONS: --buildoptions=--compile-flag=-fsanitize=undefined,--compile-flag=-m32,--compile-flag=-fno-omit-frame-pointer,--compile-flag=-fno-common,--debug,--system-allocator=on,--linker-flag=-fuse-ld=gold
steps:
- uses: actions/checkout@v1
- name: Initializtaion
run: sudo apt-get install gcc-multilib
- name: UBSAN - jerry-tests
run: $RUNNER --jerry-tests $SKIP_LIST $BUILD_OPTIONS -q