forked from arras-energy/gridlabd-old
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (33 loc) · 966 Bytes
/
develop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: develop
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
container: slacgismo/gridlabd_dockerhub_base:220322
steps:
- uses: actions/checkout@v2
- name: Update python3 modules
run: pip3 install -r requirements.txt
- name: Install openfido
run: curl -sL https://raw.githubusercontent.com/openfido/cli/main/install.sh | bash
- 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 -D github_actions=yes || ( utilities/save_validation_errors ; false )
- name: Upload artifacts on failure
uses: actions/upload-artifact@v2
if: failure()
with:
name: validate-result
path: |
validate.txt
validate.tar.gz