Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure transition #46

Merged
merged 93 commits into from
Feb 15, 2021
Merged
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
99e6842
Set up CI with Azure Pipelines
bernardopacini Dec 16, 2020
47e2d76
Azure Test
bernardopacini Dec 16, 2020
e655d33
Azure Test
bernardopacini Dec 16, 2020
7901011
Azure Test
bernardopacini Dec 21, 2020
218b187
Azure Test
bernardopacini Dec 21, 2020
bbf3099
Azure Template
bernardopacini Dec 21, 2020
01dc5a4
Azure Test
bernardopacini Dec 21, 2020
f83da46
Azure Test
bernardopacini Dec 21, 2020
15e0784
Azure Template
bernardopacini Dec 21, 2020
9cae30c
Azure Template
bernardopacini Dec 21, 2020
4d29243
Azure Test
bernardopacini Dec 21, 2020
d602167
Azure Test
bernardopacini Dec 21, 2020
c01f601
Azure Test
bernardopacini Dec 21, 2020
e6f9585
Azure Test
bernardopacini Dec 21, 2020
f00656b
Azure Test
bernardopacini Dec 21, 2020
7b8f2bd
Azure Test
bernardopacini Dec 21, 2020
279e13b
Azure Test
bernardopacini Dec 21, 2020
a676909
Azure Test
bernardopacini Dec 21, 2020
f61afe3
Azure Test
bernardopacini Dec 21, 2020
9a22972
Azure Test
bernardopacini Dec 21, 2020
30bffb3
Azure Test
bernardopacini Jan 7, 2021
0943974
Azure Test
bernardopacini Jan 7, 2021
b76b923
Azure Test
bernardopacini Jan 7, 2021
28ab332
Azure Test
bernardopacini Jan 7, 2021
ae5bc2a
Azure Test
bernardopacini Jan 7, 2021
ce4e734
Azure Test
bernardopacini Jan 7, 2021
2346765
Azure Test
bernardopacini Jan 7, 2021
c67815e
Azure Test
bernardopacini Jan 7, 2021
464d908
Azure Test
bernardopacini Jan 7, 2021
e713bcc
Azure Test
bernardopacini Jan 7, 2021
8cae387
Azure Test
bernardopacini Jan 7, 2021
9381c24
Azure Test
bernardopacini Jan 7, 2021
7efce69
Azure Test
bernardopacini Jan 7, 2021
1ea30da
Azure Test
bernardopacini Jan 7, 2021
72b053c
Azure Test
bernardopacini Jan 7, 2021
e374d34
Azure Test
bernardopacini Jan 7, 2021
0b9aab5
Azure Test
bernardopacini Jan 7, 2021
8647208
Azure Test
bernardopacini Jan 7, 2021
009a8a5
Azure Test
bernardopacini Jan 7, 2021
15f5fd8
Azure Test
bernardopacini Jan 7, 2021
e5c9cc9
Azure Test
bernardopacini Jan 7, 2021
0576b9d
Azure Test
bernardopacini Jan 7, 2021
9ca215a
Azure Test
bernardopacini Jan 7, 2021
2192ddc
Azure Test
bernardopacini Jan 7, 2021
313b4b7
Azure Test
bernardopacini Jan 7, 2021
534d706
Azure Test
bernardopacini Jan 7, 2021
084a4c7
Azure Test
bernardopacini Jan 7, 2021
ae730c0
Azure Test
bernardopacini Jan 7, 2021
c024056
Azure Test
bernardopacini Jan 7, 2021
5826c12
Azure Test
bernardopacini Jan 7, 2021
ed91263
Azure Test
bernardopacini Jan 7, 2021
0058270
Azure Test
bernardopacini Jan 7, 2021
c91d477
Azure Test
bernardopacini Jan 7, 2021
6121f5f
Azure Test
bernardopacini Jan 7, 2021
23ecda9
Azure Test
bernardopacini Jan 7, 2021
626c83c
Azure Test
bernardopacini Jan 7, 2021
b2392fe
Azure Test
bernardopacini Jan 7, 2021
b136a5f
Azure Test
bernardopacini Jan 7, 2021
4cd9426
Azure Test
bernardopacini Jan 7, 2021
6330c2f
Azure Test
bernardopacini Jan 7, 2021
476df7e
Azure Test
bernardopacini Jan 7, 2021
f39792d
Azure Test
bernardopacini Jan 7, 2021
2508713
Azure Test
bernardopacini Jan 7, 2021
f2cf458
Azure Test
bernardopacini Jan 7, 2021
beff760
Azure Test
bernardopacini Jan 7, 2021
8e7a659
Azure Test
bernardopacini Jan 7, 2021
70c5679
Azure Test
bernardopacini Jan 7, 2021
c1a6e8f
Azure Test
bernardopacini Jan 7, 2021
4816d21
Azure Test
bernardopacini Jan 7, 2021
98d95ac
Azure Test
bernardopacini Jan 7, 2021
b6167a7
Azure Test
bernardopacini Jan 14, 2021
d37943b
Azure Test
bernardopacini Jan 14, 2021
5e517e0
Azure Test
bernardopacini Jan 14, 2021
e07161e
Azure Test
bernardopacini Jan 14, 2021
73520b3
Azure Test
bernardopacini Jan 14, 2021
aa1c1d4
Azure Test
bernardopacini Jan 14, 2021
87fbcfd
Azure Test
bernardopacini Jan 14, 2021
3ca69c0
Azure Test
bernardopacini Jan 14, 2021
d108f22
Updating azure-pipelines yaml with new changes.
bernardopacini Jan 20, 2021
4dfd2f4
Updated repo-name handling.
bernardopacini Jan 20, 2021
6283e53
Reverting REPO_NAME parameter.
bernardopacini Jan 20, 2021
3e4c919
Moving pool to azure template instead of local file.
bernardopacini Jan 20, 2021
90570f9
Merge branch 'master' of github.com:mdolab/idwarp
bernardopacini Feb 3, 2021
dc80445
Merge branch 'master' into azure-pipelines
bernardopacini Feb 3, 2021
a1cc14e
Updated Azure templates and bash scripts.
bernardopacini Feb 3, 2021
906248b
Fix yaml name
bernardopacini Feb 3, 2021
c7b7edc
Complex tests fix and private / public fix
bernardopacini Feb 3, 2021
6c87520
Fixing public / private boolean
bernardopacini Feb 3, 2021
fa8fcf3
Updated Azure files.
bernardopacini Feb 12, 2021
c594679
Fixing newlines at end of files.
bernardopacini Feb 12, 2021
c9e1f5f
Added badge to readme
bernardopacini Feb 12, 2021
110ac23
Fixing correct (master) badge.
bernardopacini Feb 12, 2021
6d438b9
split real and complex tests
sseraj Feb 12, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/azure-pipelines.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
trigger:
- master

pr:
- master

resources:
repositories:
- repository: azure_template
type: github
name: mdolab/.github
endpoint: mdolab

extends:
template: azure/azure_template.yaml@azure_template
parameters:
REPO_NAME: idwarp
COMPLEX: true
GCC_CONFIG: config/defaults/config.LINUX_GFORTRAN_OPENMPI.mk
INTEL_CONFIG: config/defaults/config.LINUX_INTEL_OPENMPI.mk
5 changes: 5 additions & 0 deletions .github/build_complex.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e
cp $CONFIG_FILE config/config.mk
make -f Makefile_CS PETSC_ARCH=$PETSC_ARCH_COMPLEX
pip install .
5 changes: 5 additions & 0 deletions .github/build_real.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e
cp $CONFIG_FILE config/config.mk
make
pip install .
5 changes: 5 additions & 0 deletions .github/test_complex.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e
./input_files/get-input-files.sh
export PETSC_ARCH=$PETSC_ARCH_COMPLEX
testflo -v . -n 1
4 changes: 4 additions & 0 deletions .github/test_real.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -e
./input_files/get-input-files.sh
testflo -v . -n 1
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

# IDWarp
[![Build Status](https://dev.azure.com/mdolab/Public/_apis/build/status/mdolab.idwarp?repoName=mdolab%2Fidwarp&branchName=master)](https://dev.azure.com/mdolab/Public/_build/latest?definitionId=10&repoName=mdolab%2Fidwarp&branchName=master)
[![Build Status](https://travis-ci.com/mdolab/idwarp.svg?branch=master)](https://travis-ci.com/mdolab/idwarp)
[![Documentation Status](https://readthedocs.com/projects/mdolab-idwarp/badge/?version=latest)](https://mdolab-idwarp.readthedocs-hosted.com/en/latest/?badge=latest)

9 changes: 7 additions & 2 deletions tests/test_usmesh.py
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@

def eval_warp(handler, test_name, meshOptions, iscomplex):
# --- Create warping object ---
if iscomplex is True:
if iscomplex:
# Checking if the complex verision of the code has been built:
try:
from idwarp import idwarp_cs # noqa: F401
@@ -33,7 +33,12 @@ def eval_warp(handler, test_name, meshOptions, iscomplex):
except ImportError:
raise unittest.SkipTest("Skipping because you do not have complex idwarp compiled")
else:
mesh = USMesh(options=meshOptions)
try:
from idwarp import idwarp # noqa: F401

mesh = USMesh(options=meshOptions)
except ImportError:
raise unittest.SkipTest("Skipping because you do not have real idwarp compiled")

# --- Extract Surface Coordinates ---
coords0 = mesh.getSurfaceCoordinates()