From 0fb9854a673915c3b842b211294def20fd99b7ac Mon Sep 17 00:00:00 2001 From: Justin Bonus Date: Sun, 29 Sep 2024 15:48:05 -0700 Subject: [PATCH] Update appveyor.yml --- appveyor.yml | 63 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 43 insertions(+), 20 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index e35c02bb..3b7318c3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 1.0.{build} +version: 4.0.{build} image: - macOS @@ -17,20 +17,30 @@ 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 --version + - 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/SimCenterCommon.git - - git clone https://github.com/NHERI-SimCenter/quoFEM.git + - rm -rf SimCenterBackendApplications + - rm -rf quoFEM + - 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/quoFEM.git build_script: - + + # build SimCenterBackendApplications + - cd SimCenterBackendApplications + - chmod 'u+x' makeEXE.sh + - ./makeEXE.sh + - cd .. + # build quoFEM - cd quoFEM - chmod 'u+x' makeEXE.sh @@ -40,7 +50,7 @@ for: test_script: - qmake --version - gcc --version - - python --version + - python3 --version # Ubuntu1804 - @@ -56,17 +66,28 @@ for: install: - uname + - rm -rf SimCenterBackendApplications + - rm -rf SimCenterCommon + - rm -rf quoFEM - sudo update-alternatives --set gcc /usr/bin/gcc-9 - 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/SimCenterCommon.git - - git clone https://github.com/NHERI-SimCenter/quoFEM.git + - git clone https://github.com/JustinBonus/SimCenterBackendApplications.git + - git clone https://github.com/JustinBonus/SimCenterCommon.git + - git clone https://github.com/JustinBonus/quoFEM.git build_script: + + # build SimCenterBackendApplications + - cd SimCenterBackendApplications + - chmod 'u+x' makeEXE.sh + - ./makeEXE.sh + - cd .. + # build quoFEM - cd quoFEM - chmod 'u+x' makeEXE.sh @@ -77,11 +98,10 @@ for: test_script: - qmake --version - gcc --version - - python --version + - python3 --version # Visual Studio 2019 - - matrix: only: - image: Visual Studio 2019 @@ -94,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 @@ -104,9 +124,12 @@ 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/quoFEM.git + - cmd: rm -rf SimCenterBackendApplications + - cmd: rm -rf SimCenterCommon + - cmd: rm -rf quoFEM + - 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/quoFEM.git - cmd: dir build_script: @@ -117,7 +140,7 @@ for: - 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 .. @@ -137,4 +160,4 @@ for: test_script: - -cmd: python --version + - cmd: python --version