Skip to content

Commit

Permalink
Fix gambit build caching
Browse files Browse the repository at this point in the history
  • Loading branch information
dlozeve committed Oct 23, 2021
1 parent 84308e4 commit 25f58e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ jobs:
id: cache-gambit
uses: actions/cache@v2
with:
path: $HOME/gambit
path: gambit
key: ${{ runner.os }}-gambit-${{ matrix.gambit-version }}
- uses: actions/checkout@v2
with:
repository: 'gambit/gambit'
ref: ${{ matrix.gambit-version }}
path: 'gambit'
if: steps.cache-gambit.outputs.cache-hit != 'true'
- name: Build and install Gambit
- name: Build Gambit
if: steps.cache-gambit.outputs.cache-hit != 'true'
run: |
pushd gambit
cd gambit
./configure --prefix=$HOME/gambit --enable-single-host
make
make install
popd
- name: Setup links to gambit executables
- name: Install Gambit
run: |
cd gambit
make install
sudo ln -sf $HOME/gambit/bin/gsi /bin/gsi
sudo ln -sf $HOME/gambit/bin/gsi-script /bin/gsi-script
sudo ln -sf $HOME/gambit/bin/gsc /bin/gsc
Expand Down

0 comments on commit 25f58e4

Please sign in to comment.