Skip to content

Commit

Permalink
Merge pull request #295 from JustinBonus/JustinBonus-appveyor
Browse files Browse the repository at this point in the history
Fix Appveyor builds for Windows Visual Studio 2019 / macOS clang / Ubuntu18.04 gcc9
  • Loading branch information
fmckenna authored Sep 16, 2024
2 parents 0bd8b01 + 3e66487 commit 0a79a55
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version: 1.0.{build}
version: 24.07.{build}

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

stack: python 3.7
stack: python 3.9

for:
# macOS
Expand All @@ -18,13 +18,14 @@ for:

init:
- export PATH="$HOME/Qt/5.15.2/clang_64/bin:$HOME/venv3.9/bin:$PATH"
- 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

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

build_script:
Expand All @@ -39,6 +40,7 @@ for:
- qmake --version
- gcc --version
- python --version
- python3 --version

# Ubuntu1804
-
Expand All @@ -49,17 +51,18 @@ for:
clone_folder: ~/SimCenter

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

install:
- uname
- sudo update-alternatives --set gcc /usr/bin/gcc-9
- 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
- rm -rf SimCenterBackendApplications
- git clone https://github.com/NHERI-SimCenter/SimCenterBackendApplications.git

build_script:
Expand All @@ -73,6 +76,7 @@ for:
- qmake --version
- gcc --version
- python --version
- python3 --version

# Visual Studio 2019
-
Expand All @@ -85,11 +89,11 @@ for:

init:
- cmd: set PYTHON=C:\PYTHON38-x64
- cmd: set PYTHONNET_PYDLL=%PYTHON%\python3.8.dll
- cmd: set PYTHONNET_PYDLL=%PYTHON%\python3.9.dll
- 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 @@ -99,6 +103,7 @@ for:
- cmd: echo %PATH%

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

Expand Down

0 comments on commit 0a79a55

Please sign in to comment.