Skip to content

Fix native build in Circle #515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ executors:
scala_jdk16_executor:
docker:
- image: circleci/openjdk:16-buster
scala_native_executor:
machine:
image: ubuntu-1604:202004-01

commands:
sbt_cmd:
Expand Down Expand Up @@ -77,7 +74,7 @@ jobs:
scala_version: << parameters.scala_version >>
sbt_tasks: xmlJS/update xmlJS/compile xmlJS/Test/compile xmlJS/test xmlJS/doc xmlJS/package
scalanative_job:
executor: scala_native_executor
executor: scala_jdk8_executor
parameters:
scala_version:
description: "Scala version"
Expand All @@ -94,12 +91,10 @@ jobs:
- run:
name: Install dependencies
command: |
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add
sudo apt-get update
sudo apt-get install -y sbt clang-8 openjdk-8-jdk
sudo ln -s /usr/lib/llvm-8/bin/clang /usr/bin/clang
sudo ln -s /usr/lib/llvm-8/bin/clang++ /usr/bin/clang++
sudo apt-get install -y clang-7
sudo ln -s /usr/lib/llvm-7/bin/clang /usr/local/bin/clang
sudo ln -s /usr/lib/llvm-7/bin/clang++ /usr/local/bin/clang++
- sbt_cmd:
scala_version: << parameters.scala_version >>
sbt_tasks: xmlNative/update xmlNative/compile xmlNative/test:compile xmlNative/test xmlNative/doc xmlNative/package
Expand Down