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

Commit

Permalink
Develop add build action (#758)
Browse files Browse the repository at this point in the history
* Create c-cpp.yml

* Fix action for master and develop (#759)

* Develop (#2)
* Update version.h
* Add support for python properties (#748)
* Move subcommand help tests to autotest folder (#747)
Co-authored-by: Alyona Ivanova <Ivanova.alyona5@gmail.com>
* Develop add optimize module (#746)
* Add optimize module
* Add optimize module
* Remove CSV output from optimize module
* Change optimize extremum test to optional
* Rename test_extremum_opt.glm to test_extremum.glm
Co-authored-by: Alyona Ivanova <Ivanova.alyona5@gmail.com>
* Develop fix rusage format error and add global rusage data (#745)
* Fix rusage format error and add global rusage data
* Add rusage_data doc
Co-authored-by: Alyona Ivanova <Ivanova.alyona5@gmail.com>
* Add server control halt and stop commands (#752)
Co-authored-by: Alyona Ivanova <Ivanova.alyona5@gmail.com>
* Update Library.md (#753)
* Update load.cpp (#751)
Co-authored-by: Alyona Ivanova <Ivanova.alyona5@gmail.com>
* Update Glm_save_options.md (#755)
* Develop add python property access (#750)
* Add support for python properties
* Finalized basic python property object implementation
* Add example
* Update Property.md
* Delete Stochastic variables.ipynb
* Add support for property comparisons
* Update example
* Fix property type structure init
* Merge remote-tracking branch 'origin/develop-fix-load-phase-tautology' into develop-add-python-property-access
* Add support for unit conversion in python property
* Document python property unit conversion and fix ambiguous method name
* Workaround for python finalize exception
* Update python_embed.cpp
* Update Property.md
* Update Property.md
* Update test_python_property.glm
* Fix problem with modlist in python event handler
* Update main.cpp
* Added python shadow class tutorial
* Fix json2png it can plot csv data by default
* Create tmy32glm.py
* Update Makefile.mk
* Update Python shadow class tutorial.ipynb
* Fix traceback issues
* Update thermostat.py
* Update Python shadow class tutorial.ipynb
Co-authored-by: Alyona Ivanova <Ivanova.alyona5@gmail.com>
* Create c-cpp.yml
Co-authored-by: Alyona Ivanova <Ivanova.alyona5@gmail.com>
* Update README.md
* Update master.yml
* Update and rename test_require_pwlf.glm to test_require_pytz.glm
* Update develop.yml

* Delete c-cpp.yml

* Update develop.yml

* Update develop.yml

* Update and rename develop.yml to validate.yml

* Delete master.yml

* Rename validate.yml to develop.yml

* Update and rename develop.yml to master.yml

* Create develop.yml

Co-authored-by: Alyona Ivanova <Ivanova.alyona5@gmail.com>
  • Loading branch information
David P. Chassin and aivanova5 committed Sep 28, 2020
1 parent d32a034 commit 2ff2387
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 2 deletions.
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

0 comments on commit 2ff2387

Please sign in to comment.