Skip to content

Commit

Permalink
Merge pull request #1 from DhruvJ22/circleci-project-setup
Browse files Browse the repository at this point in the history
Initialize CircleCI
  • Loading branch information
DhruvJ22 authored Feb 7, 2024
2 parents 8c0dd76 + 54b9972 commit 06b0526
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Couldn't automatically generate a config from your source code.
# This is a generic template to serve as a base for your custom config
# See: https://circleci.com/docs/configuration-reference
version: 2.1
jobs:
test:
docker:
- image: cimg/base:stable
steps:
- checkout
# Replace this with a real test runner invocation
#- run:
# name: Run tests
# command: echo 'replace me with real tests!' && false
build:
docker:
- image: cimg/base:stable
steps:
- checkout
# Replace this with steps to build a package, or executable
- run:
name: Build an artifact
command: touch example.txt
- store_artifacts:
path: example.txt
deploy:
docker:
- image: cimg/base:stable
steps:
# Replace this with steps to deploy to users
- run:
name: deploy
command: '#e.g. ./deploy.sh'
workflows:
example:
jobs:
- test
- build:
requires:
- test
- deploy:
requires:
- test

0 comments on commit 06b0526

Please sign in to comment.