ci(project): add .circleci/config.yml (#6569)

* Add .circleci/config.yml

* Update format
This commit is contained in:
JeremyWuuuuu 2022-03-12 22:57:11 +08:00 committed by GitHub
parent 0e6ff4f9a9
commit 3978c7eb38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

26
.circleci/config.yml Normal file
View File

@ -0,0 +1,26 @@
# 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:
say-hello:
# 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/base:stable
# Add steps to the job
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
steps:
- checkout
- run:
name: 'Say hello'
command: 'echo Hello, World!'
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
say-hello-workflow:
jobs:
- say-hello