Skip to content

Commit

Permalink
Checks format in ORCA CI
Browse files Browse the repository at this point in the history
  • Loading branch information
d committed Nov 16, 2020
1 parent 97caab9 commit 3cf876a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions concourse/check_format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
platform: linux
image_resource:
type: registry-image
source:
repository: gcr.io/data-orca/clang-toolchain

inputs:
- name: orca_src
path: .
run:
path: scripts/fmt
args: [ chk ]
params:
CLANG_FORMAT: clang-format-10
10 changes: 10 additions & 0 deletions concourse/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- name: all
jobs:
- check_format
- xerces_centos5
- orca_centos5_release
- orca_centos5_debug
Expand Down Expand Up @@ -222,6 +223,7 @@ jobs:
- in_parallel:
- get: orca_src
passed:
- check_format
- orca_centos5_release
- orca_centos5_debug
- orca_centos6_release
Expand Down Expand Up @@ -298,6 +300,14 @@ jobs:
params:
from: package_tarball/bin_xerces_ubuntu18.tar.gz

- name: check_format
plan:
- in_parallel:
- get: orca_src
trigger: true
- task: check_format
file: orca_src/concourse/check_format.yml

## CentOS5 build
- name: orca_centos5_release
max_in_flight: 2
Expand Down

0 comments on commit 3cf876a

Please sign in to comment.