Skip to content

Commit

Permalink
Merge pull request #1 from sheepguo/circleci-project-setup
Browse files Browse the repository at this point in the history
CircleCI Commit
  • Loading branch information
sheepguo authored May 8, 2024
2 parents 6118cf7 + 0cccd6b commit f6e6d64
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 f6e6d64

Please sign in to comment.