pull/5370/head
filip mertens 3 years ago
parent e1d691ab8b
commit 3aec73feb6
  1. 67
      .circleci/config.yml

@ -6,6 +6,34 @@ version: 2.1
orbs: orbs:
browser-tools: circleci/browser-tools@1.2.3 browser-tools: circleci/browser-tools@1.2.3
jobs: jobs:
build:
docker:
# specify the version you desire here
- image: cimg/node:14.17.6-browsers
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
resource_class: xlarge
# - image: circleci/mongo:3.4.4
environment:
- COMMIT_AUTHOR_EMAIL: "yann@ethereum.org"
- COMMIT_AUTHOR: "Circle CI"
working_directory: ~/remix-project
steps:
- browser-tools/install-browser-tools
- checkout
- run: npm install
- run: npm run downloadsolc_assets
- run: npx nx build remix-ide --with-deps
- run: npx nx build remix-ide-e2e-src-local-plugin
- run: mkdir persist && zip -r persist/dist.zip dist
- persist_to_workspace:
root: .
paths:
- 'persist'
lint: lint:
docker: docker:
# specify the version you desire here # specify the version you desire here
@ -74,9 +102,9 @@ jobs:
parallelism: 12 parallelism: 12
steps: steps:
- browser-tools/install-browser-tools - browser-tools/install-browser-tools
- checkout - attach_workspace:
- run: npm install at: .
- run: npx nx build remix-ide --with-deps - run: unzip ./persist/dist.zip
- run: - run:
name: Start Selenium name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar command: java -jar /usr/local/bin/selenium.jar
@ -359,15 +387,32 @@ workflows:
version: 2 version: 2
build_all: build_all:
jobs: jobs:
- build
- lint - lint
- remix-libs - remix-libs:
- remix-ide-plugin-api requires:
- remix-ide-chrome-1 - build
- remix-ide-chrome-2 - remix-ide-plugin-api:
- remix-ide-firefox-1 requires:
- remix-ide-firefox-2 - build
- remix-ide-run-deploy - remix-ide-chrome-1:
- publish requires:
- build
- remix-ide-chrome-2:
requires:
- build
- remix-ide-firefox-1:
requires:
- build
- remix-ide-firefox-2:
requires:
- build
- remix-ide-run-deploy:
requires:
- build
- publish:
requires:
- build
- deploy-remix-live: - deploy-remix-live:
requires: requires:
- lint - lint

Loading…
Cancel
Save