Skip to content

Commit

Permalink
Merge pull request #4 from xpe/circleci-project-setup
Browse files Browse the repository at this point in the history
CircleCI Commit
  • Loading branch information
xpe committed Aug 13, 2024
2 parents afe404e + 01b9ba7 commit 884331c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This config was automatically generated from your source code
# Stacks detected: deps:rust:.
version: 2.1
jobs:
test-rust:
docker:
- image: cimg/rust:1.70
steps:
- checkout
- restore_cache:
key: cargo-{{ checksum "Cargo.lock" }}
- run:
command: cargo test
- save_cache:
key: cargo-{{ checksum "Cargo.lock" }}
paths:
- ~/.cargo
deploy:
# This is an example deploy job, not actually used by the workflow
docker:
- image: cimg/base:stable
steps:
# Replace this with steps to deploy to users
- run:
name: deploy
command: '#e.g. ./deploy.sh'
workflows:
build-and-test:
jobs:
- test-rust
# - deploy:
# requires:
# - test-rust

0 comments on commit 884331c

Please sign in to comment.