Skip to content

Commit

Permalink
Update workflows from develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Jun 25, 2021
1 parent 00eebd7 commit 5441b3c
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 6 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/linux_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,24 @@ jobs:
sudo apt-get update
sudo apt-get install texlive texlive-xetex texlive-science libxkbcommon-x11-0 xorg-dev libgl1-mesa-dev
- name: Install IFW
shell: bash
run: |
set -x
out_dir=${{ runner.workspace }}/Qt
aqt tool linux tools_ifw 4.1.1 qt.tools.ifw.41 --outputdir="$out_dir"
echo "$out_dir/Tools/QtInstallerFramework/4.1/bin" >> $GITHUB_PATH
- name: Create Build Directory
run: cmake -E make_directory ./build/

- name: Configure CMake
working-directory: ./build
shell: bash
run: |
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCPACK_BINARY_IFW=OFF \
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DLINK_WITH_PYTHON=ON -DBUILD_FORTRAN=ON -DBUILD_PACKAGE:BOOL=ON \
-DDOCUMENTATION_BUILD="BuildWithAll" -DTEX_INTERACTION="batchmode" \
-DDOCUMENTATION_BUILD="BuildWithAll" -DTEX_INTERACTION="batchmode" -DENABLE_PCH=OFF \
../
- name: Build Package
Expand All @@ -63,6 +71,15 @@ jobs:
overwrite: true
file_glob: true

- name: Upload IFW to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/EnergyPlus-*-x86_64.run
tag: ${{ github.ref }}
overwrite: true
file_glob: true

- name: Upload SH to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/mac_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,22 @@ jobs:
brew install --cask mactex
echo "/Library/TeX/texbin" >> $GITHUB_PATH
- name: Install IFW
shell: bash
run: |
set -x
out_dir=${{ runner.workspace }}/Qt
aqt tool mac tools_ifw 4.1.1 qt.tools.ifw.41 --outputdir="$out_dir"
echo "$out_dir/Tools/QtInstallerFramework/4.1/bin" >> $GITHUB_PATH
- name: Create Build Directory
run: cmake -E make_directory ./build/

- name: Configure CMake
working-directory: ./build
shell: bash
run: |
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCPACK_BINARY_IFW=OFF \
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_OSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET \
-DLINK_WITH_PYTHON=ON -DBUILD_FORTRAN=ON -DBUILD_PACKAGE:BOOL=ON \
-DDOCUMENTATION_BUILD="BuildWithAll" -DTEX_INTERACTION="batchmode" \
Expand Down
29 changes: 26 additions & 3 deletions .github/workflows/windows_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:
./miktexsetup_standalone --verbose \
--local-package-repository=C:/ProgramData/MiKTeX-Repo \
--remote-package-repository="https://ctan.math.illinois.edu/systems/win32/miktex/tm/packages/" \
--package-set=basic \
--package-set=essential \
download
echo "Installing from the local package directory previously set up"
./miktexsetup_standalone --verbose \
--local-package-repository=C:/ProgramData/MiKTeX-Repo \
--package-set=basic \
--package-set=essential \
--shared \
install
Expand All @@ -80,6 +80,20 @@ jobs:
mpm --find-updates
mpm --admin --find-updates
- name: Install required packages
shell: bash
working-directory: ./doc/
run: |
mpm --verbose --admin --require=@energyplus_packages_windows.lst
- name: Install IFW
shell: bash
run: |
set -x
out_dir="C:/Qt"
aqt tool windows tools_ifw 4.1.1 qt.tools.ifw.41 --outputdir="$out_dir"
echo "$out_dir/Tools/QtInstallerFramework/4.1/bin" >> $GITHUB_PATH
- name: Create Build Directory
run: cmake -E make_directory ./build/

Expand All @@ -88,7 +102,7 @@ jobs:
shell: bash
run: |
set -x
cmake -G "Visual Studio 16 2019" -A ${{ matrix.vs-generator }} -DCPACK_BINARY_IFW=OFF \
cmake -G "Visual Studio 16 2019" -A ${{ matrix.vs-generator }} \
-DLINK_WITH_PYTHON=ON -DBUILD_FORTRAN=ON -DBUILD_PACKAGE:BOOL=ON \
-DDOCUMENTATION_BUILD="BuildWithAll" -DTEX_INTERACTION="batchmode" \
../
Expand All @@ -106,3 +120,12 @@ jobs:
tag: ${{ github.ref }}
overwrite: true
file_glob: true

- name: Upload IFW to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/EnergyPlus-*-Windows-${{ matrix.package-arch }}.exe
tag: ${{ github.ref }}
overwrite: true
file_glob: true

5 comments on commit 5441b3c

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HVACFlexMeasures (Myoldmopar) - x86_64-MacOS-10.15-clang-11.0.0: OK (3066 of 3070 tests passed, 0 test warnings)

Failures:\n

regression Test Summary

  • Passed: 718
  • Failed: 4

Build Badge Test Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HVACFlexMeasures (Myoldmopar) - x86_64-Linux-Ubuntu-18.04-gcc-7.5: Tests Failed (2501 of 3110 tests passed, 116 test warnings)

Messages:\n

  • 725 tests had: AUD diffs.
  • 725 tests had: EIO diffs.
  • 685 tests had: RDD diffs.
  • 609 tests had: Table big diffs.
  • 62 tests had: ERR diffs.
  • 147 tests had: MTD diffs.
  • 2 tests had: SSZ big diffs.
  • 2 tests had: ZSZ big diffs.
  • 10 tests had: ESO small diffs.
  • 107 tests had: MDD diffs.
  • 39 tests had: Table small diffs.
  • 2 tests had: BND diffs.
  • 1 test had: SSZ small diffs.
  • 2 tests had: ZSZ small diffs.
  • 23 tests had: ESO big diffs.
  • 1 test had: EDD diffs.
  • 1 test had: DXF diffs.
  • 1 test had: SHD diffs.
  • 4 tests had: IDF diffs.
  • 1 test had: MTR small diffs.

Failures:\n

regression Test Summary

  • Passed: 133
  • Failed: 609

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HVACFlexMeasures (Myoldmopar) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-UnitTestsCoverage-Debug: OK (1624 of 1624 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HVACFlexMeasures (Myoldmopar) - Win64-Windows-10-VisualStudio-16: OK (2319 of 2319 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HVACFlexMeasures (Myoldmopar) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-IntegrationCoverage-Debug: Coverage Too Low

Build Badge Test Badge Coverage Badge

Please sign in to comment.