-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |