Add .circleci/config.yml
This commit is contained in:
parent
b21464de05
commit
0d9c0c0452
1 changed files with 41 additions and 0 deletions
41
.circleci/config.yml
Normal file
41
.circleci/config.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
version: 2.1
|
||||
jobs:
|
||||
build:
|
||||
working_directory: ~/Cider
|
||||
docker:
|
||||
- image: circleci/node:11
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Update NPM
|
||||
command: "sudo npm install -g npm"
|
||||
- restore_cache:
|
||||
key: dependency-cache-{{ checksum "package.json" }}
|
||||
- run:
|
||||
name: Install yarn
|
||||
command: npm install -g yarn
|
||||
- run:
|
||||
name: Install Dependencies
|
||||
command: yarn install
|
||||
- run:
|
||||
name: Update Dependencies
|
||||
command: yarn upgrade
|
||||
- run:
|
||||
name: Install system build dependencies
|
||||
command: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y dpkg fakeroot wine64
|
||||
|
||||
- save_cache:
|
||||
key: dependency-cache-{{ checksum "package.json" }}
|
||||
paths:
|
||||
- ./node_modules
|
||||
- run:
|
||||
name: Generate Builds (Linux)
|
||||
command: yarn dist -l
|
||||
- run:
|
||||
name: Generate Builds (Windows)
|
||||
command: yarn dist -w --x64
|
||||
|
||||
- store_artifacts:
|
||||
path: ~/Cider/dist/
|
Loading…
Add table
Add a link
Reference in a new issue