Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

![IMPORTANT] Try to add green check-mark to WE-UQ #160

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 36 additions & 26 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version: 1.0.{build}
version: 4.0.{build}

image:
- Visual Studio 2019
- macOS
- Ubuntu1804
- Visual Studio 2019

stack: python 3.7
stack: python 3.8

for:
# macOS
Expand All @@ -17,18 +17,20 @@ for:
clone_folder: ~/SimCenter

init:
- export PATH="$HOME/Qt/5.15.2/clang_64/bin:$HOME/venv3.9/bin:$PATH"
- python --version
- python -m pip install --upgrade pip
- export PATH="$HOME/Qt/5.15.2/clang_64/bin:$HOME/venv3.8/bin:$PATH"
- python3 -m pip install --upgrade pip
- pip install conan==1.60.1
- conan user
- conan remote add simcenter https://nherisimcenter.jfrog.io/artifactory/api/conan/simcenter

install:
- uname
- git clone https://github.com/NHERI-SimCenter/SimCenterBackendApplications.git
- git clone https://github.com/NHERI-SimCenter/SimCenterCommon.git
- git clone https://github.com/NHERI-SimCenter/WE-UQ.git
- rm -rf WE-UQ
- rm -rf SimCenterBackendApplications
- rm -rf SimCenterCommon
- git clone https://github.com/JustinBonus/SimCenterBackendApplications.git
- git clone https://github.com/JustinBonus/SimCenterCommon.git
- git clone https://github.com/JustinBonus/WE-UQ.git

build_script:

Expand All @@ -48,6 +50,7 @@ for:
- qmake --version
- gcc --version
- python --version
- python3 --version

# Ubuntu1804
-
Expand All @@ -59,20 +62,23 @@ for:

init:
- export PATH="$HOME/Qt/5.15.2/gcc_64/bin:$HOME/venv3.8.6/bin:$PATH"
- export PATH="/home/appveyor/.local/bin:$PATH"
- export PATH="/home/appveyor/.local/bin:$PATH"

install:
- uname
- sudo update-alternatives --set gcc /usr/bin/gcc-9
- sudo apt-get update
- rm -rf WE-UQ
- rm -rf SimCenterBackendApplications
- rm -rf SimCenterCommon
- sudo update-alternatives --set gcc /usr/bin/gcc-8
- sudo apt-get update
- sudo apt-get -y install libglu1-mesa-dev freeglut3-dev mesa-common-dev libblas-dev liblapack-dev
- python -m pip install --upgrade pip
- pip install conan
- python3 -m pip install --upgrade pip
- pip install conan==1.60.1
- conan user
- conan remote add simcenter https://nherisimcenter.jfrog.io/artifactory/api/conan/simcenter
- git clone https://github.com/NHERI-SimCenter/SimCenterBackendApplications.git
- git clone https://github.com/NHERI-SimCenter/SimCenterCommon.git
- git clone https://github.com/NHERI-SimCenter/WE-UQ.git
- git clone https://github.com/JustinBonus/SimCenterBackendApplications.git
- git clone https://github.com/JustinBonus/SimCenterCommon.git
- git clone https://github.com/JustinBonus/WE-UQ.git

build_script:
# build SimCenterBackendApplications
Expand All @@ -91,11 +97,11 @@ for:
test_script:
- qmake --version
- gcc --version
- python3 --version
- python --version

# Visual Studio 2019
-

matrix:
only:
- image: Visual Studio 2019
Expand All @@ -108,7 +114,7 @@ for:
- cmd: set QT=C:\Qt\5.15.2\msvc2019_64\bin
- cmd: set PATH=%PYTHON%;%PYTHON%\Scripts;%QT%;%PATH%
- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
- cmd: pip.exe install conan
- cmd: pip.exe install conan==1.60.1
- cmd: conan user
- cmd: conan profile new default --detect
- cmd: conan profile show default
Expand All @@ -118,19 +124,22 @@ for:
- cmd: echo %PATH%

install:
- cmd: git clone https://github.com/NHERI-SimCenter/SimCenterBackendApplications.git
- git clone https://github.com/NHERI-SimCenter/SimCenterCommon.git
- git clone https://github.com/NHERI-SimCenter/WE-UQ.git
- cmd: rm -rf WE-UQ
- cmd: rm -rf SimCenterBackendApplications
- cmd: rm -rf SimCenterCommon
- cmd: git clone https://github.com/JustinBonus/SimCenterBackendApplications.git
- cmd: git clone https://github.com/JustinBonus/SimCenterCommon.git
- cmd: git clone https://github.com/JustinBonus/WE-UQ.git
- cmd: dir

build_script:
# build simcenter backend
# build simcenterbackendapplications
- cmd: dir
- cmd: cd SimCenterBackendApplications
- cmd: mkdir build
- cmd: cd build
- cmd: conan install .. --build missing
- cmd: cmake .. -G "Visual Studio 16 2019"
- cmd: cmake -DCMAKE_CXX_STANDARD=17-DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_CXX_EXTENSIONS=OFF .. -G "Visual Studio 16 2019"
- cmd: cmake --build . --config Release
- cmd: cmake --install .
- cmd: cd ..
Expand All @@ -151,4 +160,5 @@ for:
- cmd: cd ..

test_script:
-cmd: python --version
- cmd: python --version