
* Handle 5 to 8 args. Generate a test file with all instructions for asm/disasm. * Add ops to test 7 and 8 arguments. * Make sure rebar builds sources before trying to build. * Make CI use rebar to build to make sure it works on top level without make.
38 lines
878 B
YAML
38 lines
878 B
YAML
version: 2.1
|
|
|
|
executors:
|
|
aebuilder:
|
|
docker:
|
|
- image: aeternity/builder
|
|
user: builder
|
|
working_directory: ~/aebytecode
|
|
|
|
jobs:
|
|
build:
|
|
executor: aebuilder
|
|
steps:
|
|
- checkout
|
|
- restore_cache:
|
|
keys:
|
|
- dialyzer-cache-v1-{{ .Branch }}-{{ .Revision }}
|
|
- dialyzer-cache-v1-{{ .Branch }}-
|
|
- dialyzer-cache-v1-
|
|
- run:
|
|
name: Build
|
|
command: rebar3 compile
|
|
- run:
|
|
name: Static Analysis
|
|
command: make dialyzer
|
|
- run:
|
|
name: Eunit
|
|
command: make eunit
|
|
- run:
|
|
name: Common Tests
|
|
command: make test
|
|
- save_cache:
|
|
key: dialyzer-cache-v1-{{ .Branch }}-{{ .Revision }}
|
|
paths:
|
|
- _build/default/rebar3_20.3.8_plt
|
|
- store_artifacts:
|
|
path: _build/test/logs
|