Skip to content

Commit

Permalink
Specify Chez version in Github workflows and make it part of the cach…
Browse files Browse the repository at this point in the history
…e key
  • Loading branch information
tizoc committed Jan 14, 2024
1 parent 41833f9 commit 5f8281e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
build:
name: Build and test
runs-on: ${{ matrix.os }}-latest
env:
CHEZ_SCHEME_VERSION: '9.6.4'
strategy:
matrix:
os: [macos, ubuntu, windows]
Expand All @@ -21,14 +23,15 @@ jobs:
uses: actions/cache@v2
with:
path: _build/chez
key: ${{ matrix.os }}
key: ${{ matrix.os }}-chez-${{ env.CHEZ_SCHEME_VERSION }}
- name: Install deps (Ubuntu)
run: sudo apt-get install -y uuid-dev
if: runner.os == 'linux'
- name: Build and test
run: |
echo "Using Chez Scheme version $CHEZ_SCHEME_VERSION"
make fetch-kernel
make fetch-prebuilt
make precompile-with-prebuilt
make
make csversion=$CHEZ_SCHEME_VERSION
make test
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
name: Upload Release Asset (${{ matrix.OSNAME }})
runs-on: ${{ matrix.os }}-latest
needs: create_release
env:
CHEZ_SCHEME_VERSION: '9.6.4'
strategy:
matrix:
include:
Expand All @@ -55,7 +57,7 @@ jobs:
uses: actions/cache@v2
with:
path: _build/chez
key: shen-scheme-chez-cache-${{ matrix.os }}
key: shen-scheme-chez-cache-${{ matrix.os }}-${{ env.CHEZ_SCHEME_VERSION }}
- name: Install deps (Ubuntu)
run: sudo apt-get install -y uuid-dev
if: runner.os == 'linux'
Expand All @@ -64,7 +66,7 @@ jobs:
make fetch-kernel
make fetch-prebuilt
make precompile-with-prebuilt
make
make csversion=$CHEZ_SCHEME_VERSION
make test
- name: Create binary release for ${{ matrix.OSNAME }}
run: make binary-release
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.33] - 2023-08-19

### Changed

- Updated kernel to S34.5.

## [0.32] - 2023-07-02
Expand Down

0 comments on commit 5f8281e

Please sign in to comment.