From 5f8281e5a85a5e661e1d3b395d46d0b0aef9bcd3 Mon Sep 17 00:00:00 2001 From: Bruno Deferrari Date: Sat, 13 Jan 2024 22:28:20 -0300 Subject: [PATCH] Specify Chez version in Github workflows and make it part of the cache key --- .github/workflows/build.yml | 7 +++++-- .github/workflows/release.yml | 6 ++++-- CHANGELOG.md | 2 ++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a0176e..d97e231 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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] @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91a0d7c..fe9de1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: @@ -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' @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 660c472..ffd9eb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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