Skip to content

Commit 97f1274

Browse files
authored
Initial CircleCI integration (#5)
1 parent 720510a commit 97f1274

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: 2.1
2+
3+
executors:
4+
aebuilder:
5+
docker:
6+
- image: aeternity/builder
7+
user: builder
8+
working_directory: ~/aebytecode
9+
10+
jobs:
11+
build:
12+
executor: aebuilder
13+
steps:
14+
- checkout
15+
- restore_cache:
16+
keys:
17+
- dialyzer-cache-v1-{{ .Branch }}-{{ .Revision }}
18+
- dialyzer-cache-v1-{{ .Branch }}-
19+
- dialyzer-cache-v1-
20+
- run:
21+
name: Build
22+
command: rebar3 compile
23+
- run:
24+
name: Static Analysis
25+
command: rebar3 dialyzer
26+
- run:
27+
name: Eunit
28+
command: rebar3 eunit
29+
- run:
30+
name: Common Tests
31+
command: rebar3 ct
32+
- save_cache:
33+
key: dialyzer-cache-v1-{{ .Branch }}-{{ .Revision }}
34+
paths:
35+
- _build/default/rebar3_20.3.8_plt
36+
- store_artifacts:
37+
path: _build/test/logs

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ rel/example_project
99
.concrete/DEV_MODE
1010
.rebar
1111
aeb_asm_scan.erl
12+
_build/

0 commit comments

Comments
 (0)