Skip to content

Commit

Permalink
Add setting file copy when cache is available
Browse files Browse the repository at this point in the history
  • Loading branch information
200km committed Aug 25, 2024
1 parent f5ee306 commit f518c3c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
working-directory: ./ExtLibraries
run: |
cmake --install .
- name: check extlib
shell: powershell
working-directory: ./ExtLibraries
Expand All @@ -103,6 +104,13 @@ jobs:
ls nrlmsise00/lib*/libnrlmsise00.lib
ls nrlmsise00/src
- name: copy to settings
if: steps.cache-extlib.outputs.cache-hit = 'true'
shell: powershell
working-directory: ./ExtLibraries
run: |
cp -r "cspice/generic_kernels" "../settings/cspice/generic_kernels"
- name: build 32bit
if: matrix.build_bit == 'BUILD_64BIT=OFF'
shell: cmd
Expand Down Expand Up @@ -189,6 +197,7 @@ jobs:
working-directory: ./ExtLibraries
run: |
cmake --install .
- name: check extlib
working-directory: ./ExtLibraries
run: |
Expand All @@ -201,6 +210,12 @@ jobs:
ls nrlmsise00/lib*/libnrlmsise00.a
ls nrlmsise00/src
- name: copy to settings
if: steps.cache-extlib.outputs.cache-hit = 'true'
working-directory: ./ExtLibraries
run: |
cp -r "cspice/generic_kernels" "../settings/cspice/generic_kernels"
- name: build
env:
CC: ${{ steps.compiler.outputs.CC }}
Expand Down

0 comments on commit f518c3c

Please sign in to comment.