Skip to content

Commit

Permalink
Add arm32 test
Browse files Browse the repository at this point in the history
Signed-off-by: Seonghyun Kim <[email protected]>
  • Loading branch information
ksh8281 committed Jul 20, 2023
1 parent 53b953f commit d67970a
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .jenkins/JenkinsfileArm
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,27 @@ node {
sh 'git submodule update --init test third_party/GCutil'
}

stage('Prepare build') {
def remote = [:]
remote.name = 'arm32-docker'
remote.host = 'localhost'
remote.port = 11111
remote.identityFile = '/var/lib/jenkins/id_rsa.pub'
remote.user = 'root'
remote.allowAnyHosts = true
stage('Remote SSH') {
sshCommand remote: remote, command: "ls -lrt"
sshCommand remote: remote, command: "for i in {1..5}; do echo -n \"Loop \$i \"; date ; sleep 1; done"
}

stage('Prepare build on aarch 64') {
sh 'cmake -H./ -Bout -DESCARGOT_MODE=release -DESCARGOT_THREADING=ON -DESCARGOT_TEMPORAL=ON -DESCARGOT_TCO=ON -DESCARGOT_TEST=ON -DESCARGOT_OUTPUT=shell -GNinja'
}

stage('Build') {
stage('Build on aarch 64') {
sh 'cmake --build ./out/'
}

stage('Running test') {
stage('Running test on aarch64') {
timeout(30) {
sh '#!/bin/bash\nGC_FREE_SPACE_DIVISOR=1 tools/run-tests.py --engine="${WORKSPACE}/out/escargot" --extra-arg="--skip intl402" new-es v8 spidermonkey chakracore test262'
}
Expand Down

0 comments on commit d67970a

Please sign in to comment.