remix-ide
Version:
Extendable Web IDE for Ethereum
86 lines (73 loc) • 1.7 kB
YAML
version: 2
aliases:
#- &node_installation
# run:
# name: "Update Node.js and npm if on MacOS"
# command: .circleci/install_node.sh
-
run:
name: "Updates yarn"
command: .circleci/upgrade_yarn.sh
# Custom task removes unnecessary build files before uploading release directory
-
run:
name: Preparing for artifact upload
command: rm -rf release/*-unpacked release/mac
-
store_artifacts:
path: release/
#- &install
# run: node --version && yarn install
-
run: node --version && npm install
-
run: yarn test:e2e -s
-
run:
name: "Building app (deploy if on master)"
command: |
if [[ "${CIRCLE_BRANCH}" == 'master' ]]; then
yarn release --$GRID_ENV;
else
yarn dist --$GRID_ENV;
fi;
-
steps:
- checkout
- run: node -v
# - *restore_modules_cache
-
# - *test_e2e
-
# - *save_modules_cache
-
-
jobs:
build:
docker:
- image: electronuserland/builder:10
environment:
GRID_ENV: linux
working_directory: ~/repo
<<:
build-win:
docker:
- image: electronuserland/builder:wine
environment:
GRID_ENV: win
working_directory: ~/repo
<<:
build-mac:
macos:
xcode: '10.0'
environment:
GRID_ENV: mac
working_directory: ~/repo
<<:
workflows:
version: 2
build:
jobs:
- build
- build-mac
- build-win