From b1beadaceeac5556c5e4932155a58c300cf1d39b Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 2 Oct 2018 10:37:24 +0100 Subject: CircleCI config file --- .circleci/config.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .circleci/config.yml (limited to '.circleci') diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..0ef608b --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,23 @@ +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 + - run: + name: JS Tests + working_directory: ~/repo/javascript + command: npm run test -- cgit v1.2.3 From 8161fa51a8d92da400114f20e101fd1774145005 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 3 Oct 2018 16:24:21 +0100 Subject: run npm install --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.circleci') diff --git a/.circleci/config.yml b/.circleci/config.yml index 0ef608b..07fa3fb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,9 @@ jobs: - run: name: JS Compile command: make js + - run: + name: Install JS Deps + command: npm install - run: name: JS Tests working_directory: ~/repo/javascript -- cgit v1.2.3 From 031eb2dc7591b85937668513d44a08991f4b3d8e Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 3 Oct 2018 16:26:17 +0100 Subject: ...in the right dir --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.circleci') diff --git a/.circleci/config.yml b/.circleci/config.yml index 07fa3fb..0a891db 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,7 @@ jobs: command: make js - run: name: Install JS Deps + working_directory: ~/repo/javascript command: npm install - run: name: JS Tests -- cgit v1.2.3