Skip to content

Commit

Permalink
Run CI on circle
Browse files Browse the repository at this point in the history
  • Loading branch information
tessi committed Jan 15, 2020
1 parent 2d5e82d commit 80b1c2f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Check https://circleci.com/docs/2.0/language-elixir/ for more details on CircleCI configuration
version: 2
jobs:
build:
docker:
# specify the version here
- image: circleci/elixir:1.9.1

working_directory: ~/repo
steps:
- checkout
- run:
name: "Install Rust and WASM toolchain"
command: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup component add rustfmt
rustup target add wasm32-unknown-unknown # to compile our example WASM files for testing
- run: mix deps.get
- run: mix test
- run: mix format --check-formatted
- run: cargo fmt --manifest-path native/wasmex/Cargo.toml -- --check
- run: mix dialyzer
- run: mix docs

0 comments on commit 80b1c2f

Please sign in to comment.