Skip to content

[Cylon-RP] Cylon scaling test with radical-pilot #723

[Cylon-RP] Cylon scaling test with radical-pilot

[Cylon-RP] Cylon scaling test with radical-pilot #723

Workflow file for this run

name: Conda C++/Python - gcc,OpenMPI & GCylon
on:
push:
branches:
- main
- 0.**
pull_request:
branches:
- main
- 0.**
jobs:
build:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
# explicit include-based build matrix, of known valid options
matrix:
include:
# 20.04 supports CUDA 11.0+
- os: ubuntu-20.04
cuda: "11.5.2"
gcc: 9
steps:
- uses: actions/checkout@v2
- name: Clean-up container
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
# Specify the correct host compilers
- name: Install/Select gcc and g++
run: |
sudo apt-get install -y gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }}
echo "CC=/usr/bin/gcc-${{ matrix.gcc }}" >> $GITHUB_ENV
echo "CXX=/usr/bin/g++-${{ matrix.gcc }}" >> $GITHUB_ENV
echo "CUDAHOSTCXX=/usr/bin/g++-${{ matrix.gcc }}" >> $GITHUB_ENV
- uses: Jimver/[email protected]
id: cuda-toolkit
with:
cuda: ${{ matrix.cuda }}
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: gcylon_dev
environment-file: conda/environments/gcylon.yml
- name: activate conda
run: conda activate gcylon_dev
- name: build cpp and test
run: ./build.sh --conda_cpp --release --test --cmake-flags "-DCYLON_UCX=ON"
- name: build pycylon and test
run: ./build.sh --conda_python --release --pytest --cmake-flags "-DCYLON_UCX=ON"
- name: build gcylon cpp, no testing at github for gpu
run: ./build.sh --gcylon --release
- name: build pygcylon, no testing at github for gpu
run: ./build.sh --pygcylon --release