Skip to content

Commit

Permalink
Cache readline
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Nov 8, 2024
1 parent 3df93cf commit 5d9290e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,17 @@ jobs:
echo "$(brew --prefix)/opt/cmake/bin" >> $GITHUB_PATH
echo "$(brew --prefix)/opt/flex/bin:$(brew --prefix)/opt/bison/bin" >> $GITHUB_PATH
- name: Cache readline
id: cache-readline
uses: actions/cache@v3
with:
path: /opt/nrnwheel/$(uname -m)
key: readline-${{ runner.os }}-${{ hashFiles('packaging/python/build_static_readline_osx.bash') }}
restore-keys: |
readline-${{ runner.os }}-
- name: Install readline
if: steps.cache-readline.outputs.cache-hit != 'true'
run: |
sudo mkdir -p /opt/nrnwheel/$(uname -m)
sudo bash packaging/python/build_static_readline_osx.bash
Expand Down

0 comments on commit 5d9290e

Please sign in to comment.