From 1d6c15b4fd3562a3f160cc3bda897c1353bcfb89 Mon Sep 17 00:00:00 2001 From: shanejonas Date: Sat, 15 Jun 2019 15:02:17 -0700 Subject: [PATCH] fix: add circle x platform builds --- .circleci/config.yml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cde9dda..8999c16 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,30 +38,30 @@ jobs: - run: npm test - run: ./node_modules/.bin/codecov - save_cache: *save-deps-cache - - build: + windowsbuild: <<: *defaults docker: - - image: circleci/node:10 + - image: electronuserland/builder:wine + macbuild: + <<: *defaults + macos: + xcode: "10.0.0" steps: - checkout - - restore_cache: *restore-deps-cache - run: npm install - - run: npm run build - - save_cache: *save-deps-cache + - run: npm run electron:build - release: + linuxbuild: <<: *defaults docker: - image: circleci/node:10 steps: - checkout - - restore_cache: *restore-deps-cache - run: npm install - - run: npm run build - - run: npm install semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/github @semantic-release/npm @semantic-release/commit-analyzer @semantic-release/release-notes-generator @qiwi/semantic-release-gh-pages-plugin - - run: ./node_modules/.bin/semantic-release - - save_cache: *save-deps-cache + - run: npm run electron:build + release: + steps: + - run: echo "hello world" workflows: version: 2 @@ -78,6 +78,10 @@ workflows: filters: *filter-only-master - build: filters: *filter-only-master + requires: + - windowsbuild + - macbuild + - linuxbuild - hold: filters: *filter-only-master type: approval