diff --git a/.ci/check-pr-labels-step-bash.yml b/.ci/check-pr-labels-step-bash.yml deleted file mode 100644 index 402b6fb266..0000000000 --- a/.ci/check-pr-labels-step-bash.yml +++ /dev/null @@ -1,13 +0,0 @@ -steps: -- bash: | - if [[ -n "${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER}" ]]; then - label="no ci build" - url="https://api.github.com/repos/UniStuttgart-VISUS/megamol/issues/${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER}/labels" - curl -s "${url}" | grep -q "\"${label}\"" - exit_code=$? - if [[ $exit_code -eq 0 ]]; then - echo "##[error]Cancel build! Was requested by setting the '${label}' label on the pull request." - exit 1 - fi - fi - displayName: 'Check PR label' diff --git a/.ci/check-pr-labels-step-pwsh.yml b/.ci/check-pr-labels-step-pwsh.yml deleted file mode 100644 index 982a3d8ec2..0000000000 --- a/.ci/check-pr-labels-step-pwsh.yml +++ /dev/null @@ -1,14 +0,0 @@ -steps: -- powershell: | - if ($Env:SYSTEM_PULLREQUEST_PULLREQUESTNUMBER) { - $label = "no ci build" - $url = "https://api.github.com/repos/UniStuttgart-VISUS/megamol/issues/$Env:SYSTEM_PULLREQUEST_PULLREQUESTNUMBER/labels" - $response = Invoke-RestMethod -Uri $url - foreach($element in $response) { - if ($element.name -eq $label) { - echo "##[error]Cancel build! Was requested by setting the '$label' label on the pull request." - exit 1 - } - } - } - displayName: 'Check PR label' diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index d7924565d8..0000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,116 +0,0 @@ - -trigger: -- master - -pr: -- master - -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 - variables: - VCPKG_DEFAULT_BINARY_CACHE: '$(Agent.BuildDirectory)\vcpkg_cache\archives' - X_VCPKG_REGISTRIES_CACHE: '$(Agent.BuildDirectory)\vcpkg_cache\registries' - - strategy: - matrix: - 'VS2019 Release': - configuration: Release - cmakeExtraArgs: '$(defaultConfig)' - 'VS2019 Debug': - configuration: Debug - cmakeExtraArgs: '$(defaultConfig)' - 'VS2019 Release (nonGL)': - configuration: Release - cmakeExtraArgs: '$(nonGlConfig)' - - timeoutInMinutes: 720 - - pool: - name: 'default' - demands: - - Agent.OS -equals Windows_NT - - cmake - - VisualStudio_16.0 - - 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)' - -- job: Linux - variables: - VCPKG_DEFAULT_BINARY_CACHE: '$(Agent.BuildDirectory)/vcpkg_cache/archives' - X_VCPKG_REGISTRIES_CACHE: '$(Agent.BuildDirectory)/vcpkg_cache/registries' - - strategy: - matrix: - 'GCC13 / Debug': - dockerImage: megamol_ci_ubuntu - cCompiler: gcc-13 - cxxCompiler: g++-13 - configuration: Debug - cmakeExtraArgs: '$(defaultConfig)' - 'Clang18 / Release': - dockerImage: megamol_ci_ubuntu - cCompiler: clang-18 - 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 - - pool: - name: 'default' - demands: - - Agent.OS -equals Linux - - docker - - container: ghcr.io/unistuttgart-visus/$(dockerImage):master - - 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)'