mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 22:25:48 -04:00
github action: cache dftd3.tgz tarball
This commit is contained in:
parent
cc60f0d1a8
commit
33f2e80391
1 changed files with 4 additions and 1 deletions
5
.github/workflows/github_actions.yml
vendored
5
.github/workflows/github_actions.yml
vendored
|
|
@ -182,7 +182,7 @@ jobs:
|
|||
with:
|
||||
path: |
|
||||
~/cache
|
||||
key: ${{ matrix.os }}-${{ matrix.mpi_impl}}-${{ matrix.fc}}-xcode${{ matrix.xcode_version}}-simint${{ matrix.use_simint}}-blas${{ matrix.blas}}-simd${{ steps.get-simd.outputs.simd }}-nwchemcache-v005
|
||||
key: ${{ matrix.os }}-${{ matrix.mpi_impl}}-${{ matrix.fc}}-xcode${{ matrix.xcode_version}}-simint${{ matrix.use_simint}}-blas${{ matrix.blas}}-simd${{ steps.get-simd.outputs.simd }}-nwchemcache-v006
|
||||
- name: build environment
|
||||
run: |
|
||||
pwd
|
||||
|
|
@ -196,6 +196,7 @@ jobs:
|
|||
[ -d ~/cache/simint/simint_install/lib ] && \
|
||||
mkdir -p src/NWints/simint/libsimint_source/simint_install && \
|
||||
rsync -av ~/cache/simint/simint_install/* src/NWints/simint/libsimint_source/simint_install/. || true
|
||||
rsync -av ~/cache/tarballs/dftd3.tgz src/nwpw/nwpwlib/nwpwxc/dftd3.tgz || true
|
||||
echo "cache fetched"
|
||||
- name: compile
|
||||
id: compile
|
||||
|
|
@ -212,10 +213,12 @@ jobs:
|
|||
run: |
|
||||
mkdir -p ~/cache/libext/lib ~/cache/libext/bin ~/cache/libext/include ~/cache/libext/mpich || true
|
||||
mkdir -p ~/cache/simint/simint_install || true
|
||||
mkdir -p ~/cache/tarballs || true
|
||||
[ -d "src/libext/lib" ] && rsync -av src/libext/lib/* ~/cache/libext/lib/. || true
|
||||
[ -d "src/libext/bin" ] && rsync -av src/libext/bin/* ~/cache/libext/bin/. || true
|
||||
[ -d "src/libext/include" ] && rsync -av src/libext/include/* ~/cache/libext/include/. || true
|
||||
[ -d "src/NWints/simint/libsimint_source/simint_install/lib" ] && rsync -av src/NWints/simint/libsimint_source/simint_install/* ~/cache/simint/simint_install/. || true
|
||||
[ -d "src/nwpw/nwpwlib/nwpwxc/dftd3.tgz" ] && rsync -av src/nwpw/nwpwlib/nwpwxc/dftd3.tgz ~/cache/tarballs/dftd3.tgz || true
|
||||
mkdir -p ~/cache/libext/mpich/mpich || true
|
||||
echo "cache stored"
|
||||
ls -Rla ~/cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue