Skip to content
This repository was archived by the owner on Jul 29, 2021. It is now read-only.

Commit b2b7f51

Browse files
committed
add circleci
1 parent 5a63372 commit b2b7f51

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

.circleci/config.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Scala CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/sample-config/ for more details
4+
#
5+
version: 2
6+
jobs:
7+
build:
8+
docker:
9+
# specify the version you desire here
10+
- image: circleci/openjdk:8-jdk-stretch
11+
12+
# Specify service dependencies here if necessary
13+
# CircleCI maintains a library of pre-built images
14+
# documented at https://circleci.com/docs/2.0/circleci-images/
15+
# - image: circleci/postgres:9.4
16+
17+
working_directory: ~/repo
18+
19+
environment:
20+
# Customize the JVM maximum heap limit
21+
JVM_OPTS: -Xmx3200m
22+
TERM: dumb
23+
24+
steps:
25+
- run: cat /etc/os-release
26+
- run: cat /etc/apt/sources.list
27+
- run: gcc --version
28+
- run: sudo apt-get install software-properties-common
29+
- run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
30+
- run: sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main"
31+
- run: sudo apt-get update -y
32+
- run: sudo apt-get install -y libstdc++-5-dev/unstable
33+
- run: sudo apt-get install -y libgcc-5-dev/unstable
34+
- run: sudo apt-get install -y libobjc-5-dev/unstable
35+
- run: sudo apt-get install -y llvm-6.0-dev
36+
- run: sudo apt-get install -y libomp-dev
37+
- run: sudo apt-get install -y clang-6.0
38+
39+
- checkout
40+
41+
# Download and cache dependencies
42+
- restore_cache:
43+
keys:
44+
- v1-dependencies-{{ checksum "build.sbt" }}
45+
# fallback to using the latest cache if no exact match is found
46+
- v1-dependencies-
47+
48+
- run: cat /dev/null | sbt test:compile
49+
50+
- save_cache:
51+
paths:
52+
- ~/.m2
53+
key: v1-dependencies--{{ checksum "build.sbt" }}
54+
55+
# run tests!
56+
- run: cat /dev/null | sbt test:test

0 commit comments

Comments
 (0)