Circleci project setup (#1)

* Added .circleci/config.yml
This commit is contained in:
Paul 2022-03-30 19:10:55 +03:00 committed by Paul
parent de37f1cdbc
commit 0d7ecad8e9
1 changed files with 29 additions and 0 deletions

29
.circleci/config.yml Normal file
View File

@ -0,0 +1,29 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
cargo-test:
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
docker:
- image: cimg/rust:1.59.0
# Add steps to the job
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
steps:
- checkout
- run:
name: "cargo test"
command: |
cargo version;
cargo test;
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
build-and-test:
jobs:
- cargo-test