Skip to content

Commit

Permalink
MAINT: Remove redundant comments or instructions in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jwboth committed Aug 29, 2024
1 parent 786c71b commit 37c782b
Showing 1 changed file with 3 additions and 46 deletions.
49 changes: 3 additions & 46 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 * * *'
Expand Down Expand Up @@ -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]

Expand Down

0 comments on commit 37c782b

Please sign in to comment.