Skip to content

Commit

Permalink
matrix of mpi versions
Browse files Browse the repository at this point in the history
  • Loading branch information
joezuntz committed Jul 24, 2024
1 parent d287d3e commit aeb8a79
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-base-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ env:


jobs:

build:
strategy:
matrix:
mpiversion: [4.0.2, 4.2.0]
name: Build Base Image
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -53,7 +57,8 @@ jobs:
TX_DOCKER_VERSION=${{ github.sha }}
TX_RELEASE_TAG=dev-${{ steps.release_info.outputs.date }}
TX_RELEASE_DATE=${{ steps.release_info.outputs.date }}
tags: ${{ env.TEST_TAG }}
TX_MPI_VERSION=${{ matrix.mpiversion }}
tags: ${{ env.TEST_TAG }}-${{ matrix.mpiversion }}
cache-from: type=gha
cache-to: type=gha,mode=max

Expand All @@ -72,6 +77,6 @@ jobs:
# txpipe-dev
# txpipe-dev:latest
# txpipe-dev:<the date, e.g. 2023-03-21>
tags: ${{ env.PUSH_TAG}},${{ env.PUSH_TAG}}:latest,${{ env.PUSH_TAG}}:${{ steps.release_info.outputs.date }}
tags: ${{ env.PUSH_TAG}}-${{ matrix.mpiversion }},${{ env.PUSH_TAG}}-${{ matrix.mpiversion }}:latest,${{ env.PUSH_TAG}}-${{ matrix.mpiversion }}:${{ steps.release_info.outputs.date }}
cache-from: type=gha
cache-to: type=gha,mode=max
4 changes: 2 additions & 2 deletions txpipe-base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM condaforge/mambaforge:23.3.1-1
LABEL [email protected]

ENV TX_MPI_VERSION=4.2.0
ARG TX_MPI_VERSION
ENV TX_MPI_VERSION=${TX_MPI_VERSION}


# Make, which we will need for everything
Expand Down

0 comments on commit aeb8a79

Please sign in to comment.