Created
June 17, 2021 00:46
-
-
Save srz-zumix/8929001f59873e0473de8d8870e5691f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources: | |
- name: iutest_gitRepo | |
type: GitRepo | |
configuration: | |
gitProvider: GitHub | |
path: srz-zumix/iutest | |
branches: | |
include: master|^jfrog/.* | |
# https://www.jfrog.com/confluence/display/JFROG/Triggering+Pipelines+and+Steps#TriggeringPipelinesandSteps-CancellingPreviousRunsOnaGitRepositoryChange | |
cancelPendingRunsOn: | |
newCommit: true | |
pullRequestUpdate: true | |
pipelines: | |
- name: iutest_centos_basic_test | |
configuration: | |
nodePool: centos-latest | |
runtime: | |
type: image | |
image: | |
auto: | |
language: cpp | |
versions: | |
- "9.0.1" | |
steps: | |
- name: gcc | |
type: Bash | |
configuration: | |
inputResources: | |
- name: iutest_gitRepo | |
execution: &basic-test-execution | |
onStart: | |
- update_commit_status iutest_gitRepo # Status: "processing" | |
onExecute: | |
- update_commit_status iutest_gitRepo # Status: "processing" | |
- yum install -y make | |
- pushd ${res_iutest_gitRepo_resourcePath} | |
- make -C test showcxxversion showcxxmacros | |
- make -C test -j4 | |
- make -C test test | |
- make -C test report | |
- popd | |
onFailure: | |
- update_commit_status iutest_gitRepo # Status: "failure" | |
onSuccess: | |
- update_commit_status iutest_gitRepo # Status: "success" | |
- name: clang | |
type: Bash | |
configuration: | |
environmentVariables: | |
CC: clang | |
CXX: clang++ | |
inputResources: | |
- name: iutest_gitRepo | |
execution: *basic-test-execution |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment