Skip to content

Commit

Permalink
ci: debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Jun 5, 2024
1 parent 77dd30a commit dfc50dd
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/linux-compileonly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,25 @@ jobs:
steps:
- name: Create workspace
run: mkdir -p ${{ github.workspace }}
- name: Check out repository code
uses: actions/checkout@v4
- name: DEBUG - list
run: |
ls ${{ github.workspace }}
- name: Install packages
run: |
apt-get update && apt-get install -y cmake wget git
- name: Build MPI
- name: Download MPI
run: |
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.6.tar.bz2
tar -xf openmpi-4.1.6.tar.bz2
(cd openmpi-4.1.6; ./configure --prefix=/usr/local --with-cuda=/usr/local/cuda)
- name: Configure MPI
run: cd openmpi-4.1.6 && ./configure --prefix=/usr/local --with-cuda=/usr/local/cuda
- name: Build MPI
run: cd openmpi-4.1.6 && make -j$(nproc)
- name: Install MPI
run: |
(cd openmpi-4.1.6; make all install)
cd openmpi-4.1.6 && make all install
ldconfig
- name: Check MPI in path
run: |
Expand All @@ -36,8 +44,7 @@ jobs:
mpicxx --version
- name: Check MPI CUDA support
run: ompi_info --parsable --all | grep mpi_built_with_cuda_support:value:true
- name: Check out repository code
uses: actions/checkout@v4

- name: Build Kokkos
run: |
git clone https://github.com/kokkos/kokkos.git --branch master --depth 1 "$KOKKOS_SRC"
Expand Down

0 comments on commit dfc50dd

Please sign in to comment.