Skip to content

added all override tables to comparison apge #96

added all override tables to comparison apge

added all override tables to comparison apge #96

Workflow file for this run

name: App build
on:
push:
branches:
- "infrastructure-buildout-override"
defaults:
run:
# -l: use login shell (required when using Conda)
shell: bash -l {0}
env:
PYTEST_ADDOPTS: --color=yes
jobs:
windows-build:
name: Windows Build
runs-on: windows-latest
env:
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
environment-file: environment.yml
activate-environment: pareto-ui-env
- name: Install Electron JS dependencies
run: |
npm --prefix electron clean-install
- name: Install frontend JS dependencies
run: |
npm --prefix electron/ui clean-install
- name: Get idaes extensions
run: idaes get-extensions
# - name: Install Pareto locally
# working-directory: ../
# run: git clone https://github.com/MichaelPesce/project-pareto.git && cd project-pareto && git fetch --all && git checkout 0.5.0_release && pip install --progress-bar off .
- name: Install Pareto locally
working-directory: ../
run: git clone https://github.com/project-pareto/project-pareto.git && cd project-pareto && pip install --progress-bar off .
- name: Build Backend
run: npm --prefix electron run build-backend
- name: Build Frontend
run: npm --prefix electron run build-frontend-win
- name: Build Windows Distribution
run: npm --prefix electron run electron-build-win
- name: Upload artifact for windows build
uses: actions/upload-artifact@v3
if: always()
with:
name: windows-pareto-dist
path: |
electron/dist/Pareto-UI_Setup.exe
# linux-build:
# name: Linux Build
# runs-on: ubuntu-latest
# env:
# CI: false
# steps:
# - uses: actions/checkout@v3
# - uses: conda-incubator/setup-miniconda@v2
# with:
# environment-file: environment.yml
# activate-environment: pareto-ui-env
# - name: Install Electron JS dependencies
# run: |
# npm --prefix electron clean-install
# - name: Install frontend JS dependencies
# run: |
# npm --prefix electron/ui clean-install
# - name: Install GNU FORTRAN, GOMP, Blas, and Lapack libraries
# run: |
# sudo apt-get install -y libgfortran5 libgomp1 liblapack3 libblas3
# - name: Get idaes extensions
# run: idaes get-extensions
# - name: Install Pareto locally
# working-directory: ../
# run: git clone https://github.com/project-pareto/project-pareto.git && cd project-pareto && pip install --progress-bar off .
# - name: Build Backend
# run: npm --prefix electron run build-backend
# - name: Build Frontend
# run: npm --prefix electron run build-frontend
# # for some reason, ico file breaks linux build. going without icon for now
# - name: Remove ico file
# run: rm electron/build/pareto-logo.ico
# - name: Build Linux Distribution
# run: npm --prefix electron run electron-build-lin
# - name: Upload artifact for linux build
# uses: actions/upload-artifact@v3
# if: always()
# with:
# name: linux-dist
# path: |
# electron/dist/pareto-ui_0.1.0_amd64.deb