Skip to content

Commit

Permalink
Merge pull request #108 from open-rpc/feat/rust
Browse files Browse the repository at this point in the history
feat(multilang): rust client generator
  • Loading branch information
BelfordZ authored Mar 28, 2019
2 parents f69ca5d + b09d9ea commit 6dff8d4
Show file tree
Hide file tree
Showing 17 changed files with 1,540 additions and 193 deletions.
18 changes: 5 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,23 @@ aliases:
- &filter-only-semantic-pr
branches:
only: /^(pull|dependabot|fix|feat)\/.*$/

- &filter-only-fork-pr
branches:
only: /^pull\/.*$/

defaults: &defaults
working_directory: ~/generator-client
docker:
- image: circleci/node:10

jobs:
test:
<<: *defaults
docker:
- image: circleci/node:10
steps:
- checkout
- run: curl https://sh.rustup.rs -sSf | sh -s -- -y
- run: echo 'export PATH=$HOME/.cargo/bin:$PATH' >> $BASH_ENV
- run: source /home/circleci/.bashrc
- restore_cache: *restore-deps-cache
- run: npm install
- run: npm install codecov
Expand All @@ -45,8 +47,6 @@ jobs:

build:
<<: *defaults
docker:
- image: circleci/node:10
steps:
- checkout
- restore_cache: *restore-deps-cache
Expand All @@ -56,8 +56,6 @@ jobs:

release:
<<: *defaults
docker:
- image: circleci/node:10
steps:
- checkout
- restore_cache: *restore-deps-cache
Expand All @@ -70,17 +68,11 @@ workflows:
version: 2
analysis:
jobs:
- hold:
filters: *filter-only-fork-pr
type: approval
- test:
filters: *filter-only-semantic-pr
requires:
- hold
- build:
filters: *filter-only-semantic-pr
requires:
- hold
- test

release:
Expand Down
Loading

0 comments on commit 6dff8d4

Please sign in to comment.