Skip to content
Snippets Groups Projects
Commit 06f717dd authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[.ci] Remove azure-related stuff

parent c0ec3e84
No related branches found
No related tags found
1 merge request!18[common.numeric] make usable with recent versions of clang
Pipeline #58457 passed
#!/usr/bin/env python3
#
# ~~~
# This file is part of the dune-xt project:
# https://github.com/dune-community/dune-xt
# Copyright 2009-2020 dune-xt developers and contributors. All rights reserved.
# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
# or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
# with "runtime exception" (http://www.dune-project.org/license.html)
# Authors:
# René Fritze (2019)
# Tobias Leibner (2020)
# ~~~
tpl = '''# THIS FILE IS AUTOGENERATED -- DO NOT EDIT #
# Edit and Re-run .ci/azure/pipelines.py instead #
resources:
repositories:
- repository: templates
type: github
name: dune-community/dune-xt-ci
endpoint: dune-xt-ci
jobs:
{% for image, subdir in matrix -%}
- template: azure-job-template.yml@templates
parameters:
dockerimage: {{ image }}
jobname: {{subdir}}_{{ image[image.find('debian')+1+6:] }}
subdir: {{ subdir }}
module: 'dune-xt'
{% endfor %}
# - job: "Misc_Checks"
# steps:
# - bash: |
# [[ -f ./.gitsuper ]] && echo "Please remove .gitsuper from the repo" && exit 1
# displayName: 'Forbit .gitsuper'
'''
import os
import jinja2
import sys
from itertools import product
tpl = jinja2.Template(tpl)
images = ['debian-unstable_gcc_full', 'debian_gcc_full', 'debian_clang_full']
subdirs = ['common', 'grid', 'functions', 'la']
matrix = product(images, subdirs)
with open(os.path.join(os.path.dirname(__file__), 'pipelines.yml'), 'wt') as yml:
yml.write(tpl.render(matrix=matrix))
# THIS FILE IS AUTOGENERATED -- DO NOT EDIT #
# Edit and Re-run .ci/azure/pipelines.py instead #
resources:
repositories:
- repository: templates
type: github
name: dune-community/dune-xt-ci
endpoint: dune-xt-ci
jobs:
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian-unstable_gcc_full
jobname: common_unstable_gcc_full
subdir: common
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian-unstable_gcc_full
jobname: grid_unstable_gcc_full
subdir: grid
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian-unstable_gcc_full
jobname: functions_unstable_gcc_full
subdir: functions
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian-unstable_gcc_full
jobname: la_unstable_gcc_full
subdir: la
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian_gcc_full
jobname: common_gcc_full
subdir: common
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian_gcc_full
jobname: grid_gcc_full
subdir: grid
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian_gcc_full
jobname: functions_gcc_full
subdir: functions
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian_gcc_full
jobname: la_gcc_full
subdir: la
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian_clang_full
jobname: common_clang_full
subdir: common
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian_clang_full
jobname: grid_clang_full
subdir: grid
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian_clang_full
jobname: functions_clang_full
subdir: functions
module: 'dune-xt'
- template: azure-job-template.yml@templates
parameters:
dockerimage: debian_clang_full
jobname: la_clang_full
subdir: la
module: 'dune-xt'
# - job: "Misc_Checks"
# steps:
# - bash: |
# [[ -f ./.gitsuper ]] && echo "Please remove .gitsuper from the repo" && exit 1
# displayName: 'Forbit .gitsuper'
\ No newline at end of file
Subproject commit a7c9c6aa0dd444f03b7945ecc1e81e6edb7d0248
Subproject commit ddfaa837fa7ab1d9f698af1fbf3b607ab987d99b
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment