Commit 1c63eac1 authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

Update .gitlab-ci.yml file

parent ee492176
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+32 −0
Original line number Diff line number Diff line
default:
  tags:
    - cpu
  image: ubuntu
  before_script:
    - apt-get update
    - apt-get install -y curl
    - curl -LO https://code.ornl.gov/api/v4/projects/16689/packages/generic/x86_64-unknown-linux-gnu/v${ACORN_VERSION}/acorn
    - chmod +x ./acorn
    - mv acorn /usr/local/bin
    - curl -LO https://github.com/errata-ai/vale/releases/download/v${VALE_VERSION}/vale_${VALE_VERSION}_Linux_64-bit.tar.gz
    - tar -xvzf vale_${VALE_VERSION}_Linux_64-bit.tar.gz -C /bin
    - acorn --version
    - vale -v

variables:
  USER: CI
  EMAIL: wohlgemuthjh@ornl.gov

stages:
  - analysis

analysis:
  stage: analysis
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
  inherit:
    default: true
    variables: true
  script:
    - acorn help
    - acorn check --path . -vv
 No newline at end of file