Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Develop add build action #758

Merged
merged 12 commits into from
Sep 28, 2020
33 changes: 33 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: develop

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
build:

runs-on: ubuntu-latest
container: slacgismo/gridlabd_dockerhub_base:latest

steps:
- uses: actions/checkout@v2
- name: Run autoconf
run: autoreconf -isf
- name: Configure build
run: ./configure
- name: Build gridlabd
run: make -j10 system
- name: Validate build
run: |
gridlabd -D keep_progress=TRUE -T 0 --validate
utilities/save_validation_errors || true
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: validate-result
path: |
validate.txt
validate.tar.gz
33 changes: 33 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: master

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
container: slacgismo/gridlabd_dockerhub_base:latest

steps:
- uses: actions/checkout@v2
- name: Run autoconf
run: autoreconf -isf
- name: Configure build
run: ./configure
- name: Build gridlabd
run: make -j10 system
- name: Validate build
run: |
gridlabd -D keep_progress=TRUE -T 0 --validate
utilities/save_validation_errors || true
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: validate-result
path: |
validate.txt
validate.tar.gz
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![master](https://github.com/dchassin/gridlabd/workflows/master/badge.svg) ![develop](https://github.com/dchassin/gridlabd/workflows/develop/badge.svg)

The main documentation page for this project is located at http://docs.gridlabd.us/.

## Important Note
Expand Down
2 changes: 0 additions & 2 deletions gldcore/autotest/test_require_pwlf.glm

This file was deleted.

2 changes: 2 additions & 0 deletions gldcore/autotest/test_require_pytz.glm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#python -m pip uninstall pytz -y 1>/dev/null
#require pytz