File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ before_install:
1414 - sudo apt-get install -y libjavascriptcoregtk-3.0-bin
1515 - wget https://aka.ms/chakracore/cc_linux_x64_1_8_1 -O chakra-core.tar.gz
1616 - tar xvzf chakra-core.tar.gz
17+ - wget https://github.com/oracle/graal/releases/download/vm-1.0.0-rc1/graalvm-ce-1.0.0-rc1-linux-amd64.tar.gz
18+ - tar xzf graalvm-ce-1.0.0-rc1-linux-amd64.tar.gz
1719
1820before_script :
1921 - script/bootstrap
@@ -53,6 +55,8 @@ script:
5355 - grep '0 failures, 0 errors.' test-out.txt
5456 - ./ChakraCoreFiles/bin/ch builds/out-adv/core-advanced-test.js | tee test-out.txt
5557 - grep '0 failures, 0 errors.' test-out.txt
58+ - ./graalvm-1.0.0-rc1/bin/js builds/out-adv/core-advanced-test.js | tee test-out.txt
59+ - grep '0 failures, 0 errors.' test-out.txt
5660 - script/test-self-host | tee test-out.txt
5761 - grep '0 failures, 0 errors.' test-out.txt
5862 - script/test-self-parity | tee test-out.txt
Original file line number Diff line number Diff line change 3939 echo " Benchmarking with ChakraCore"
4040 " ${CHAKRACORE_HOME} /ch" builds/out-adv-bench/core-advanced-benchmark.js
4141fi
42+
43+ if [ " $GRAALVM_HOME " = " " ]; then
44+ echo " GRAALVM_HOME not set, skipping GraalVM benchmarks"
45+ else
46+ echo " Benchmarking with GraalVM"
47+ " ${GRAALVM_HOME} /js" builds/out-adv-bench/core-advanced-benchmark.js
48+ fi
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ rm -rf package-lock.json
99echo {} > package.json
1010mkdir -p builds/out-adv
1111
12- possible=5
12+ possible=6
1313ran=0
1414
1515if ! bin/cljsc src/test/cljs " {:optimizations :advanced
8080 ran=$(( ran+ 1 ))
8181fi
8282
83+ if [ " $GRAALVM_HOME " = " " ]; then
84+ echo " GRAALVM_HOME not set, skipping GraalVM tests"
85+ else
86+ echo " Testing with GraalVM"
87+ " ${GRAALVM_HOME} /js" builds/out-adv/core-advanced-test.js
88+ ran=$(( ran+ 1 ))
89+ fi
90+
8391echo " Tested with $ran out of $possible possible js targets"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ rm -rf package-lock.json
88echo {} > package.json
99mkdir -p builds/out-simp
1010
11- possible=5
11+ possible=6
1212ran=0
1313
1414# bin/cljsc test >out/core-test.js
8080 ran=$[ran+1]
8181fi
8282
83+ if [ " $GRAALVM_HOME " = " " ]; then
84+ echo " GRAALVM_HOME not set, skipping GraalVM tests"
85+ else
86+ echo " Testing with GraalVM"
87+ " ${GRAALVM_HOME} /js" builds/out-simp/core-simple-test.js
88+ ran=$[ran+1]
89+ fi
90+
8391echo " Tested with $ran out of $possible possible js targets"
You can’t perform that action at this time.
0 commit comments