Sign inSign up

slacgismo/circleci_gridlabd_base

By slacgismo

•Updated over 6 years ago

Base images for CircleCI GridLAB-D builds

Image
0

10K+

slacgismo/circleci_gridlabd_base repository overview

This repository contains base images needed to run GridLAB-D in CircleCI. The typical configuration file for CircleCI is names .circleci/config.yml and contains the following:

version: 2
jobs:
  build:
    docker:
    - image: slacgismo/circleci_gridlabd_base:latest
    steps:
    - checkout
    - run:
        name: Build gridlabd
        command: |
          autoreconf -isf
          ./configure --enable-silent-rules --prefix=$PWD/install
          export PATH=$PWD/install/bin:$PATH
          sudo make -j16 install
    - run:
        name: Validate gridlabd
        command: |
          export PATH=$PWD/install/bin:$PATH
          gridlabd -T 8 --validate
    - run:
        name: Save validation output (if any) on failure
        command: tar cfz validate-output.tar.gz ./*/autotest/*/*
        when: on_fail
    - store_artifacts:
        path: /home/circleci/project/validate.txt
        destination: /gridlabd/validate.txt
    - store_artifacts:
        path: /home/circleci/project/validate-output.tar.gz
        destination: /gridlabd/validate-output.tar.gz
    - run:
        name: Generate online documentation
        command: sudo make doxygen-run
    - store_artifacts:
        path: /home/circleci/project/documents
        destination: /gridlabd/documents
workflows:
  version: 2
  workflow:
    jobs:
    - build

Tag summary

Content type

Image

Digest

Size

651.2 MB

Last updated

over 6 years ago

docker pull slacgismo/circleci_gridlabd_base