diff --git a/.github/workflows/spack.yml b/.github/workflows/spack.yml index 51f8dc845..5765ed18f 100644 --- a/.github/workflows/spack.yml +++ b/.github/workflows/spack.yml @@ -17,7 +17,7 @@ jobs: matrix: include: # Include GPU build tests - compiler: gcc - mpi: mpich + mpi: openmpi gpu: none # - compiler: gcc @@ -32,11 +32,33 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Configure Open MPI + if: matrix.mpi == 'openmpi' + run: | + sudo apt-get install -y openmpi-bin libopenmpi-dev + - name: Configure MPICH if: matrix.mpi == 'mpich' run: | sudo apt-get install -y mpich libmpich-dev + - name: Configure Intel MPI + if: matrix.mpi == 'intelmpi' + uses: mpi4py/setup-mpi@v1 + with: + mpi: ${{ matrix.mpi }} + + - name: Configure Clang compiler + if: matrix.compiler == 'clang' + run: | + sudo apt-get install -y clang lld + + - name: Configure Intel oneAPI compiler + if: matrix.compiler == 'intel' + run: | + sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp \ + intel-oneapi-compiler-fortran + - uses: vsoch/spack-package-action/install@main - name: Build Palace