Skip to content

Commit

Permalink
cleanup and disable azure pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz-h committed Jul 10, 2024
1 parent 5c9e917 commit 6eb1325
Showing 1 changed file with 28 additions and 43 deletions.
71 changes: 28 additions & 43 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ variables:
defaultConfig: >-
-DMEGAMOL_VCPKG_DOWNLOAD_CACHE=ON
-DMEGAMOL_WARNING_LEVEL="Off"
-DMEGAMOL_PLUGIN_MEGAMOL101_GL=ON
-DMEGAMOL_USE_CGAL=ON
-DMEGAMOL_USE_PROFILING=ON
-DMEGAMOL_USE_STACKTRACE=ON
-DMEGAMOL_USE_TRACY=ON
-DMEGAMOL_USE_VTKM=ON
nonGlConfig: >-
-DMEGAMOL_VCPKG_DOWNLOAD_CACHE=ON
-DMEGAMOL_WARNING_LEVEL="Off"
-DMEGAMOL_USE_OPENGL=OFF
jobs:
- job: Windows
Expand All @@ -34,9 +24,6 @@ jobs:
'VS2019 Debug':
configuration: Debug
cmakeExtraArgs: '$(defaultConfig)'
'VS2019 Release (nonGL)':
configuration: Release
cmakeExtraArgs: '$(nonGlConfig)'

timeoutInMinutes: 720

Expand All @@ -50,17 +37,19 @@ jobs:
steps:
- template: .ci/check-pr-labels-step-pwsh.yml
- powershell: |
New-Item -ItemType "directory" -Path "$Env:VCPKG_DEFAULT_BINARY_CACHE" -Force
New-Item -ItemType "directory" -Path "$Env:X_VCPKG_REGISTRIES_CACHE" -Force
displayName: 'Setup vcpkg cache directories'
- task: CMake@1
displayName: 'CMake Configure'
inputs:
cmakeArgs: '.. -G "Visual Studio 16 2019" -A"x64" $(cmakeExtraArgs)'
- task: CMake@1
displayName: 'CMake Build'
inputs:
cmakeArgs: '--build . --config $(configuration)'
echo "Hello MegaMol!"
#- powershell: |
# New-Item -ItemType "directory" -Path "$Env:VCPKG_DEFAULT_BINARY_CACHE" -Force
# New-Item -ItemType "directory" -Path "$Env:X_VCPKG_REGISTRIES_CACHE" -Force
# displayName: 'Setup vcpkg cache directories'
#- task: CMake@1
# displayName: 'CMake Configure'
# inputs:
# cmakeArgs: '.. -G "Visual Studio 16 2019" -A"x64" $(cmakeExtraArgs)'
#- task: CMake@1
# displayName: 'CMake Build'
# inputs:
# cmakeArgs: '--build . --config $(configuration)'

- job: Linux
variables:
Expand All @@ -81,12 +70,6 @@ jobs:
cxxCompiler: clang++-18
configuration: Release
cmakeExtraArgs: '$(defaultConfig)'
'GCC13 / Release (nonGL)':
dockerImage: megamol_ci_ubuntu
cCompiler: gcc-13
cxxCompiler: g++-13
configuration: Release
cmakeExtraArgs: '$(nonGlConfig)'

timeoutInMinutes: 720

Expand All @@ -101,16 +84,18 @@ jobs:
steps:
- template: .ci/check-pr-labels-step-bash.yml
- bash: |
mkdir -p $VCPKG_DEFAULT_BINARY_CACHE
mkdir -p $X_VCPKG_REGISTRIES_CACHE
displayName: 'Setup vcpkg cache directories'
- bash: echo "##vso[task.setvariable variable=numberOfCpuCores]$(nproc)"
displayName: 'Bash get number of CPU cores'
- task: CMake@1
displayName: 'CMake Configure'
inputs:
cmakeArgs: '.. -G Ninja -DCMAKE_C_COMPILER=$(cCompiler) -DCMAKE_CXX_COMPILER=$(cxxCompiler) -DCMAKE_BUILD_TYPE=$(configuration) $(cmakeExtraArgs)'
- task: CMake@1
displayName: 'CMake Build'
inputs:
cmakeArgs: '--build . --parallel $(numberOfCpuCores)'
echo "Hello MegaMol!"
#- bash: |
# mkdir -p $VCPKG_DEFAULT_BINARY_CACHE
# mkdir -p $X_VCPKG_REGISTRIES_CACHE
# displayName: 'Setup vcpkg cache directories'
#- bash: echo "##vso[task.setvariable variable=numberOfCpuCores]$(nproc)"
# displayName: 'Bash get number of CPU cores'
#- task: CMake@1
# displayName: 'CMake Configure'
# inputs:
# cmakeArgs: '.. -G Ninja -DCMAKE_C_COMPILER=$(cCompiler) -DCMAKE_CXX_COMPILER=$(cxxCompiler) -DCMAKE_BUILD_TYPE=$(configuration) $(cmakeExtraArgs)'
#- task: CMake@1
# displayName: 'CMake Build'
# inputs:
# cmakeArgs: '--build . --parallel $(numberOfCpuCores)'

0 comments on commit 6eb1325

Please sign in to comment.