Skip to content

Commit

Permalink
[CI] Only build MVAPICH to cache it
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Jan 3, 2023
1 parent e558cb2 commit d8274ba
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,26 +63,26 @@ jobs:
spack_yaml: .ci/mvapich/spack.yaml
deploy: false

- name: Set PATH and LD_LIBRARY_PATH
run: |
echo "PATH=$(realpath .ci/mvapich/.spack-env/view/bin):${PATH}" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$(realpath .ci/mvapich/.spack-env/view/lin):${LD_LIBRARY_PATH}" >> $GITHUB_ENV
# - name: Set PATH and LD_LIBRARY_PATH
# run: |
# echo "PATH=$(realpath .ci/mvapich/.spack-env/view/bin):${PATH}" >> $GITHUB_ENV
# echo "LD_LIBRARY_PATH=$(realpath .ci/mvapich/.spack-env/view/lin):${LD_LIBRARY_PATH}" >> $GITHUB_ENV

- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia_version }}
# - uses: julia-actions/setup-julia@latest
# with:
# version: ${{ matrix.julia_version }}

- uses: julia-actions/cache@v1
- name: add MPIPreferences
shell: julia --color=yes --project=. {0}
run: |
using Pkg
Pkg.develop(path="lib/MPIPreferences")
# - uses: julia-actions/cache@v1
# - name: add MPIPreferences
# shell: julia --color=yes --project=. {0}
# run: |
# using Pkg
# Pkg.develop(path="lib/MPIPreferences")

- name: use system MPI
shell: julia --color=yes --project=. {0}
run: |
using MPIPreferences
MPIPreferences.use_system_binary()
# - name: use system MPI
# shell: julia --color=yes --project=. {0}
# run: |
# using MPIPreferences
# MPIPreferences.use_system_binary()

- uses: julia-actions/julia-runtest@latest
# - uses: julia-actions/julia-runtest@latest

0 comments on commit d8274ba

Please sign in to comment.