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

Set up CI with Azure Pipelines #8

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
79b1d0d
Set up CI with Azure Pipelines
raffenet May 30, 2019
c1799aa
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
9492cb7
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
b748a09
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
222b291
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
1bfc406
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
3405160
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
0efcd0b
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
a18e589
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
7b5cd34
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
408b883
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
c871867
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
8259a56
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
09a2d0b
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
51aef38
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
fe010d5
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
dab9a59
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
1bc1b2e
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
879ec7e
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
11bc6c1
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
d50b34d
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
52c10e6
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
04fd6bb
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
22f0300
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
da687b5
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
9d6a1d3
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
c3a9421
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
79384b9
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
b86f9fb
Update azure-pipelines.yml for Azure Pipelines
raffenet May 30, 2019
e625bbd
Update azure-pipelines.yml for Azure Pipelines
raffenet May 31, 2019
1ec138e
Update azure-pipelines.yml for Azure Pipelines
raffenet May 31, 2019
b77c0f4
Update azure-pipelines.yml for Azure Pipelines
raffenet May 31, 2019
16b06a0
Update azure-pipelines.yml for Azure Pipelines
raffenet May 31, 2019
fa1ff61
Update azure-pipelines.yml for Azure Pipelines
raffenet May 31, 2019
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
99 changes: 99 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# C/C++ with GCC
# Build your C/C++ project with GCC using make.
# Add steps that publish test results, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc

pr:
autoCancel: true

jobs:
- job: bionic
strategy:
matrix:
nemesis:
device: --with-device=ch3:nemesis
sock:
device: --with-device=ch3:sock

pool:
vmImage: 'ubuntu-latest'
container: raffenet/sandbox:bionic

steps:
- script: |
./autogen.sh
displayName: 'autogen'
- script: |
./configure --prefix=$PWD/i $(device)
displayName: 'configure'
- script: |
make -j2 install
displayName: 'make'
- script: |
./i/bin/mpiexec -n 2 ./examples/cpi
cd test/mpi/attr
make testing
displayName: 'run'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/summary.junit.xml'

- job: centos7
strategy:
matrix:
nemesis:
device: --with-device=ch3:nemesis
sock:
device: --with-device=ch3:sock

pool:
vmImage: 'ubuntu-latest'
container: raffenet/sandbox:centos7

steps:
- script: |
./autogen.sh
displayName: 'autogen'
- script: |
./configure --prefix=$PWD/i $(device)
displayName: 'configure'
- script: |
make -j2 install
displayName: 'make'
- script: |
./i/bin/mpiexec -n 2 ./examples/cpi
cd test/mpi/attr
make testing
displayName: 'run'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/summary.junit.xml'

- job: macOS
strategy:
matrix:
nemesis:
device: --with-device=ch3:nemesis
sock:
device: --with-device=ch3:sock
pool:
vmImage: 'macOS-10.14'

steps:
- script: |
export MPICH_DEPS_PREFIX=$HOME/autotools
export PATH=$MPICH_DEPS_PREFIX/bin:$PATH
./maint/bootstrap.sh
./autogen.sh
displayName: 'autogen'
- script: |
./configure --prefix=$PWD/i --disable-fortran $(device)
displayName: 'configure'
- script: |
make -j2 install
displayName: 'make'
- script: |
./i/bin/mpiexec -n 2 ./examples/cpi
displayName: 'cpi'