Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
14 changes: 13 additions & 1 deletion .github/actions/parallel_h5py/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,26 @@ runs:
echo $HDF5_DIR
echo "HDF5_DIR=$HDF5_DIR" >> $GITHUB_ENV

# To be deactivated when a new version of h5py is released on PyPI
- name: Install h5py in parallel mode
shell: bash
run: |
export CC="mpicc"
export HDF5_MPI="ON"
pip install h5py --no-cache-dir --no-binary h5py
git clone https://github.com/h5py/h5py.git
cd h5py
pip install -v .
pip list

# To be reactivated when a new version of h5py is released on PyPI
# - name: Install h5py in parallel mode
# shell: bash
# run: |
# export CC="mpicc"
# export HDF5_MPI="ON"
# pip install h5py --no-cache-dir --no-binary h5py
# pip list

- name: Check parallel h5py installation
shell: bash
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ on:

pull_request:
branches: [ devel, main ]
paths:
- 'README.md'
- 'docs/**'
- 'psydac/**.py'
types:
- ready_for_review

workflow_dispatch:

Expand Down Expand Up @@ -70,7 +68,9 @@ jobs:
- if: steps.cache-petsc.outputs.cache-hit != 'true'
name: Download a specific release of PETSc
run: |
git clone --depth 1 --branch v3.23.2 https://gitlab.com/petsc/petsc.git
git clone --depth 1 -b release https://gitlab.com/petsc/petsc.git
# when a tag will be available for the latest release we can install with
# git clone --depth 1 --branch v*.**.* https://gitlab.com/petsc/petsc.git

- if: steps.cache-petsc.outputs.cache-hit != 'true'
name: Install PETSc with complex support
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ jobs:
- if: steps.cache-petsc.outputs.cache-hit != 'true'
name: Download a specific release of PETSc
run: |
git clone --depth 1 --branch v3.24.2 https://gitlab.com/petsc/petsc.git

git clone --depth 1 -b release https://gitlab.com/petsc/petsc.git
# when a tag will be available for the latest release we can install with
# git clone --depth 1 --branch v*.**.* https://gitlab.com/petsc/petsc.git

- if: steps.cache-petsc.outputs.cache-hit != 'true'
name: Install PETSc with complex support
working-directory: ./petsc
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ All notable changes to this project will be documented in this file.
- #570 : Optimize PSYDAC logo
- #565 : Expand editable install info in `README.md`
- #566 : Fix command `psydac test --mpi` on Ubuntu machines
- [DEVELOPER] Update CI installation of `h5py` and `petsc4py` after release of `setuptools` 81.0

### Changed

- [DEVELOPER] Do not check file changes to trigger testing workflow on PRs
- [DEVELOPER] Run documentation workflow whenever `README.md` is modified
- [DEVELOPER] Run testing workflow on PRs only when set to "ready for review"
- [DEVELOPER] Run documentation workflow on pushes to `devel` whenever `README.md` is modified
- [DEVELOPER] Run testing and documentation workflows on PRs only when set to "ready for review"

### Deprecated

Expand Down