Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand committed Feb 20, 2025
1 parent a6fb436 commit 8412230
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/install-engine/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ inputs:
- aarch64-apple-darwin
- aarch64-unknown-linux-musl
- x86_64-unknown-linux-musl
- x86_64-pc-windows-msvc

env:
CARGO_TERM_COLOR: always
Expand All @@ -27,7 +28,7 @@ runs:
# will not work as expected. We need to find a way to cache the valkey repo on the runner itself.
steps:
- name: Cache Valkey for non self hosted runners
if: ${{!contains(inputs.target, 'aarch64-unknown') }}
if: ${{ !contains(inputs.target, 'aarch64-unknown') }}
uses: actions/cache@v4
id: cache-valkey
with:
Expand All @@ -49,6 +50,12 @@ runs:
cd valkey
git checkout ${{ inputs.engine-version }}
- name: Install cygwin
if: ${{ contains(inputs.target, 'windows') }}
uses: cygwin/cygwin-install-action@v5
with:
packages: make git gcc-core

- name: Build and install engine
shell: bash
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/install-shared-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ inputs:
- aarch64-apple-darwin
- aarch64-unknown-linux-musl
- x86_64-unknown-linux-musl
- x86_64-pc-windows-msvc
engine-version:
description: "Engine version to install"
required: false
Expand Down

0 comments on commit 8412230

Please sign in to comment.