File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ executors:
1313 scala_jdk16_executor :
1414 docker :
1515 - image : circleci/openjdk:16-buster
16+ scala_native_executor :
17+ machine :
18+ image : ubuntu-1604:202004-01
1619
1720commands :
1821 sbt_cmd :
7679 - sbt_cmd :
7780 scala_version : << parameters.scala_version >>
7881 sbt_tasks : xmlJS/update xmlJS/compile xmlJS/test:compile xmlJS/test xmlJS/doc xmlJS/package
82+ scalanative_job :
83+ executor : scala_native_executor
84+ parameters :
85+ scala_version :
86+ description : " Scala version"
87+ default : 2.12.13
88+ type : string
89+ scalanative_version :
90+ description : " Scala Native version"
91+ default : 0.4.0
92+ type : string
93+ environment :
94+ SCALANATIVE_VERSION : << parameters.scalanative_version >>
95+ steps :
96+ - checkout
97+ - run :
98+ name : Install dependencies
99+ command : |
100+ echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
101+ curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add
102+ sudo apt-get update
103+ sudo apt-get install sbt clang-8 openjdk-8-jdk
104+ - sbt_cmd :
105+ scala_version : << parameters.scala_version >>
106+ sbt_tasks : xmlNative/update xmlNative/compile xmlNative/test:compile xmlNative/test xmlNative/doc xmlNative/package
79107
80108workflows :
81109 build :
@@ -140,3 +168,11 @@ workflows:
140168 name : sjs1.0_2.13
141169 scala_version : 2.13.4
142170 scalajs_version : 1.4.0
171+ - scalanative_job :
172+ name : native0.4_2.12
173+ scala_version : 2.12.13
174+ scalanative_version : 0.4.0
175+ - scalanative_job :
176+ name : native0.4_2.13
177+ scala_version : 2.13.4
178+ scalanative_version : 0.4.0
Original file line number Diff line number Diff line change 1+ version = "2.7.4"
You can’t perform that action at this time.
0 commit comments