diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac1c0dbb..135dddb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,11 +4,10 @@ on: push: branches: - main - - development pull_request: branches: - main - - development + # schedule: # Do a nightly run of the tests # - cron: '0 1 * * *' @@ -40,55 +39,13 @@ jobs: architecture: x64 - name: Install dependencies + # if github.event_name == 'push' + # sudo apt-get install -y libhypre-dev libmumps-seq-dev run: | sudo apt-get update - sudo apt-get install -y libhypre-dev libmumps-seq-dev pip install numpy mpi4py PETSC_CONFIGURE_OPTIONS="--download-hypre --download-mumps --download-parmetis --download-ml --download-metis --download-scalapack" pip install petsc petsc4py - # - name: Get environment variables - # run: | - # echo "PETSC_DIR=/usr/local/petsc" >> $GITHUB_ENV - # echo "PETSC_ARCH=arch-linux-c-opt" >> $GITHUB_ENV - - #- name: Configure and install Hypre - # run: | - # # Change directory to petsc directory using python command os.environ["PETSC_DIR"] - # python -c "import os; os.chdir(os.environ['PETSC_DIR'])" - # ./configure --download-hypre - - # Installation of petsc in parallel - - # - name: Install dependencies - # run: | - # sudo apt-get update - # sudo apt-get install -y mpich - # pip install numpy mpi4py - # pip install petsc petsc4py - - # - name: Set environment variables - # run: | - # echo "PETSC_DIR=/usr/local/petsc" >> $GITHUB_ENV - # echo "PETSC_ARCH=arch-linux-c-opt" >> $GITHUB_ENV - - # - name: Install Hypre - # run: | - # git clone https://github.com/hypre-space/hypre.git - # cd hypre/src - # ./configure --with-MPI - # make - # sudo make install - - # - name: Install MUMPS - # run: | - # git clone https://github.com/scivision/mumps.git - # cd mumps - # mkdir build - # cd build - # cmake -G "Ninja" -DMUMPS_parallel=on .. - # cmake --build . - # sudo make install - - name: Install DarSIA run: pip install .[dev]