Skip to content

Commit

Permalink
Disable Spack GPU builds in CI for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed Feb 17, 2024
1 parent 81bb96a commit 93f7f6b
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions .github/workflows/spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,45 @@ jobs:
mpi: mpich
gpu: none

- compiler: gcc
mpi: mpich
gpu: cuda
# - compiler: gcc
# mpi: mpich
# gpu: cuda

- compiler: gcc
mpi: mpich
gpu: rocm
# - compiler: gcc
# mpi: mpich
# gpu: rocm

runs-on: palace_ubuntu-latest_16-core
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
Expand Down

0 comments on commit 93f7f6b

Please sign in to comment.