Skip to content

Commit

Permalink
fix: add circle x platform builds
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejonas committed Jun 15, 2019
1 parent 0f0aa29 commit 1d6c15b
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1d6c15b

Please sign in to comment.