Templatize Dockerfiles & update workflows (#223)

Now build images by a script with a shared Dockerfile template

---------

Co-authored-by: Binyang Li <binyli@microsoft.com>
Co-authored-by: Saeed Maleki <saemal@microsoft.com>
This commit is contained in:
Changho Hwang
2023-11-23 05:29:12 +08:00
committed by GitHub
parent 15f6dcca49
commit dab19e00c1
16 changed files with 113 additions and 222 deletions

View File

@@ -13,7 +13,7 @@ jobs:
name: Analyze
runs-on: 'ubuntu-latest'
container:
image: ghcr.io/microsoft/mscclpp/mscclpp:dev-${{ matrix.cuda-version }}
image: ghcr.io/microsoft/mscclpp/mscclpp:base-dev-${{ matrix.cuda-version }}
permissions:
actions: read
@@ -24,7 +24,7 @@ jobs:
fail-fast: false
matrix:
language: [ 'cpp', 'python' ]
cuda-version: [ 'cuda11.8', 'cuda12.1' ]
cuda-version: [ 'cuda11.8', 'cuda12.2' ]
steps:
- name: Checkout repository
@@ -45,7 +45,7 @@ jobs:
- name: Build
run: |
MPI_HOME=/usr/local/mpi cmake -DBYPASS_PEERMEM_CHECK=ON .
cmake -DBYPASS_PEERMEM_CHECK=ON .
make -j
- name: Perform CodeQL Analysis