Release 4.3.11 #171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: master | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup system | |
run: sudo ./setup.sh --local | |
- name: Build gridlabd | |
run: sudo ./build.sh --system --parallel | |
- name: Install openfido | |
run: | | |
test -x /usr/local/bin/python3 || sudo ln -sf $(which python3) /usr/local/bin/python3 | |
sudo /usr/local/bin/python3 -m venv /usr/local/opt/openfido | |
source /usr/local/opt/openfido/bin/activate | |
sudo /usr/local/bin/python3 -m pip install requests pandas docker | |
curl -sL https://raw.githubusercontent.com/openfido/cli/main/install.sh | sudo sh | |
- name: Validate system | |
run: sudo gridlabd -D keep_progress=TRUE -T 0 --validate -D github_actions=yes || ( sudo utilities/save_validation_errors ; false ) | |
- name: Upload artifacts on failure | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: validate-result | |
path: | | |
validate.txt | |
validate.tar.gz |