Skip to content

Commit

Permalink
Fix cache path and environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
dlozeve committed Oct 23, 2021
1 parent 064653b commit aeadccd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
id: cache-gambit
uses: actions/cache@v2
with:
path: $GITHUB_WORKSPACE/gambit
path: $HOME/gambit
key: ${{ runner.os }}-gambit-${{ matrix.gambit-version }}
- uses: actions/checkout@v2
with:
Expand All @@ -37,9 +37,7 @@ jobs:
sudo ln -sf $HOME/gambit/bin/gsi-script /bin/gsi-script
sudo ln -sf $HOME/gambit/bin/gsc /bin/gsc
- name: Setup build
run: |
echo "(define (gerbil-version-string) \"git-$(git rev-parse --short=8 HEAD)\")" > src/gerbil/runtime/gx-version.scm
export GERBIL_HOME=${GITHUB_WORKSPACE}
run: echo "(define (gerbil-version-string) \"git-$(git rev-parse --short=8 HEAD)\")" > src/gerbil/runtime/gx-version.scm
- name: Build gxi
run: ./src/build.sh gxi
- name: Build stage0
Expand All @@ -54,5 +52,6 @@ jobs:
run: ./src/build.sh tools
- name: Run tests
run: |
export GERBIL_HOME=${GITHUB_WORKSPACE}
export PATH=${GITHUB_WORKSPACE}/bin:$PATH
./src/std/run-tests.ss

0 comments on commit aeadccd

Please sign in to comment.