@@ -3,11 +3,135 @@ name: IoT.js CI
33on : [push, pull_request]
44
55env :
6- RUNNER : tools/travis_script .py
6+ RUNNER : tools/ci_script .py
77
88jobs :
99 " Linux-x86-64_Build_and_Correctness_Tests " :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v2
13- - run : echo "Empty action"
13+ - run : OPTS="host-linux" $RUNNER
14+
15+ " Mock_Linux_Build_and_Correctness_Tests " :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v2
19+ - run : OPTS="mock-linux" $RUNNER
20+
21+ " Linux-x86-64_Build_with_N-API_support_and_Correctness_Tests " :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v2
25+ - run : OPTS="n-api" $RUNNER
26+
27+ " Linux-x86-64_Build_with_N-API_ES_2015_support_and_Correctness_Tests " :
28+ runs-on : ubuntu-latest
29+ steps :
30+ - uses : actions/checkout@v2
31+ - run : OPTS="n-api-es2015-subset" $RUNNER
32+
33+ " Raspberry_Pi_2_Build_Test " :
34+ runs-on : ubuntu-latest
35+ steps :
36+ - uses : actions/checkout@v2
37+ - run : OPTS="rpi2" $RUNNER
38+
39+ " STM32f4_Discovery_with_Nuttx_Build_Test " :
40+ runs-on : ubuntu-latest
41+ steps :
42+ - uses : actions/checkout@v2
43+ - run : OPTS="stm32f4dis" $RUNNER
44+
45+ " Tizen_Build_Test " :
46+ runs-on : ubuntu-latest
47+ steps :
48+ - uses : actions/checkout@v2
49+ - run : OPTS="tizen" $RUNNER
50+
51+ " ECMAScript_2015_features_Build_and_Correctness_Tests " :
52+ runs-on : ubuntu-latest
53+ steps :
54+ - uses : actions/checkout@v2
55+ - run : OPTS="es2015" $RUNNER
56+
57+ " External_modules_Build_and_Correctness_Tests " :
58+ runs-on : ubuntu-latest
59+ steps :
60+ - uses : actions/checkout@v2
61+ - run : OPTS="external-modules" $RUNNER
62+
63+ " Linux-x86-64_without_snapshot_Build_and_Correctness_Tests " :
64+ runs-on : ubuntu-latest
65+ steps :
66+ - uses : actions/checkout@v2
67+ - run : OPTS="no-snapshot" $RUNNER
68+
69+ " Misc_checks_style_checker " :
70+ runs-on : ubuntu-18.04
71+ steps :
72+ - uses : actions/checkout@v2
73+ - run : sudo apt update
74+ - run : sudo apt install -y npm clang-format-3.9
75+ - run : npm install eslint
76+ - run : OPTS="misc" $RUNNER
77+
78+ " OSX-x86-64_Build_and_Correctness_Tests " :
79+ runs-on : macos-latest
80+ steps :
81+ - uses : actions/checkout@v2
82+ - run : OPTS="host-darwin" $RUNNER
83+
84+ " ASAN_Tests " :
85+ runs-on : ubuntu-latest
86+ steps :
87+ - uses : actions/checkout@v2
88+ - run : OPTS="asan" $RUNNER
89+
90+ " UBSAN_Tests " :
91+ runs-on : ubuntu-latest
92+ steps :
93+ - uses : actions/checkout@v2
94+ - run : OPTS="ubsan" $RUNNER
95+
96+ " Windows-x86_64 " :
97+ runs-on : windows-latest
98+ strategy :
99+ matrix :
100+ include :
101+ - configuration : Debug
102+ - configuration : Release
103+ steps :
104+ - run : |
105+ git config --global core.autocrlf false
106+ git config --global core.eol lf
107+ - uses : actions/checkout@v2
108+ - run : npm install
109+ - run : python tools\build.py "--cmake-param=-GVisual Studio 16 2019"
110+ --experimental
111+ --buildtype=${{ matrix.configuration }}
112+ --target-arch=x86_64
113+ --run-test=full
114+ --jerry-profile=es.next
115+ --profile=test/profiles/host-windows.profile
116+
117+ " Windows-i686 " :
118+ runs-on : windows-latest
119+ strategy :
120+ matrix :
121+ include :
122+ - configuration : Debug
123+ - configuration : Release
124+ steps :
125+ - run : |
126+ git config --global core.autocrlf false
127+ git config --global core.eol lf
128+ - uses : actions/checkout@v2
129+ - run : npm install
130+ - run : python tools\build.py "--cmake-param=-GVisual Studio 16 2019"
131+ --experimental
132+ --buildtype=${{ matrix.configuration }}
133+ --target-arch=i686
134+ --run-test=full
135+ --jerry-cmake-param=-DJERRY_SYSTEM_ALLOCATOR=ON
136+ --jerry-profile=es5.1
137+ --profile=test/profiles/host-windows.profile
0 commit comments