Skip to content

Commit a13ed76

Browse files
authored
Merge pull request #515 from ashawley/fix-circle-native
Fix native build in Circle
2 parents e9d1008 + 1fbb9ea commit a13ed76

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.circleci/config.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ executors:
1010
scala_jdk16_executor:
1111
docker:
1212
- image: circleci/openjdk:16-buster
13-
scala_native_executor:
14-
machine:
15-
image: ubuntu-1604:202004-01
1613

1714
commands:
1815
sbt_cmd:
@@ -77,7 +74,7 @@ jobs:
7774
scala_version: << parameters.scala_version >>
7875
sbt_tasks: xmlJS/update xmlJS/compile xmlJS/Test/compile xmlJS/test xmlJS/doc xmlJS/package
7976
scalanative_job:
80-
executor: scala_native_executor
77+
executor: scala_jdk8_executor
8178
parameters:
8279
scala_version:
8380
description: "Scala version"
@@ -94,12 +91,10 @@ jobs:
9491
- run:
9592
name: Install dependencies
9693
command: |
97-
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
98-
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add
9994
sudo apt-get update
100-
sudo apt-get install -y sbt clang-8 openjdk-8-jdk
101-
sudo ln -s /usr/lib/llvm-8/bin/clang /usr/bin/clang
102-
sudo ln -s /usr/lib/llvm-8/bin/clang++ /usr/bin/clang++
95+
sudo apt-get install -y clang-7
96+
sudo ln -s /usr/lib/llvm-7/bin/clang /usr/local/bin/clang
97+
sudo ln -s /usr/lib/llvm-7/bin/clang++ /usr/local/bin/clang++
10398
- sbt_cmd:
10499
scala_version: << parameters.scala_version >>
105100
sbt_tasks: xmlNative/update xmlNative/compile xmlNative/test:compile xmlNative/test xmlNative/doc xmlNative/package

0 commit comments

Comments
 (0)