2018-10-02 11:37:24 +02:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
|
|
|
- image: trzeci/emscripten
|
|
|
|
|
|
|
|
working_directory: ~/repo
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Native Compile
|
|
|
|
command: make
|
|
|
|
- run:
|
|
|
|
name: Native Tests
|
|
|
|
command: make test
|
|
|
|
- run:
|
|
|
|
name: JS Compile
|
|
|
|
command: make js
|
2018-10-03 17:24:21 +02:00
|
|
|
- run:
|
|
|
|
name: Install JS Deps
|
|
|
|
command: npm install
|
2018-10-02 11:37:24 +02:00
|
|
|
- run:
|
|
|
|
name: JS Tests
|
|
|
|
working_directory: ~/repo/javascript
|
|
|
|
command: npm run test
|