From dfc50dda641370f0d422f5dfb53b2f7a30d4b5eb Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Wed, 5 Jun 2024 13:04:49 -0600 Subject: [PATCH] ci: debug build --- .github/workflows/linux-compileonly.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux-compileonly.yaml b/.github/workflows/linux-compileonly.yaml index 0b74fcf7..a48a7c99 100644 --- a/.github/workflows/linux-compileonly.yaml +++ b/.github/workflows/linux-compileonly.yaml @@ -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: | @@ -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"