36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
# Use the latest 2.1 version of CircleCI pipeline process engine.
|
|
# See: https://circleci.com/docs/configuration-reference
|
|
version: 2.1
|
|
|
|
# Define a job to be invoked later in a workflow.
|
|
# See: https://circleci.com/docs/configuration-reference/#jobs
|
|
jobs:
|
|
ctest:
|
|
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
|
|
# See: https://circleci.com/docs/configuration-reference/#executor-job
|
|
docker:
|
|
- image: git.wntrmute.dev/sc/dev:alpine
|
|
# Add steps to the job
|
|
# See: https://circleci.com/docs/configuration-reference/#steps
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Setup cmake build
|
|
command: setup-cmake.sh
|
|
|
|
static_analysis:
|
|
docker:
|
|
- image: git.wntrmute.dev/sc/dev:alpine
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
- name: trunk check
|
|
command: ./trunk check
|
|
|
|
# Orchestrate jobs using workflows
|
|
# See: https://circleci.com/docs/configuration-reference/#workflows
|
|
workflows:
|
|
ctest:
|
|
jobs:
|
|
- ctest
|