From 97e8b7e79fbdfb59f9c0a39a90744f68e33f6a4e Mon Sep 17 00:00:00 2001 From: Justin Bonus Date: Sun, 29 Sep 2024 08:37:14 -0700 Subject: [PATCH] Add green check-mark to WE-UQ Preferred over red X --- appveyor.yml | 62 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 36 insertions(+), 26 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 9ed19b1..1d6afc6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 @@ -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: @@ -48,6 +50,7 @@ for: - qmake --version - gcc --version - python --version + - python3 --version # Ubuntu1804 - @@ -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 @@ -91,11 +97,11 @@ for: test_script: - qmake --version - gcc --version + - python3 --version - python --version # Visual Studio 2019 - - matrix: only: - image: Visual Studio 2019 @@ -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 @@ -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 .. @@ -151,4 +160,5 @@ for: - cmd: cd .. test_script: - -cmd: python --version + - cmd: python --version +