From 8412230a1619dea7ce609d64d164a4030863d066 Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Thu, 20 Feb 2025 15:58:28 -0800 Subject: [PATCH] CI Signed-off-by: Yury-Fridlyand --- .github/workflows/install-engine/action.yml | 9 ++++++++- .github/workflows/install-shared-dependencies/action.yml | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/install-engine/action.yml b/.github/workflows/install-engine/action.yml index 5d20a34dab..644c4fd38f 100644 --- a/.github/workflows/install-engine/action.yml +++ b/.github/workflows/install-engine/action.yml @@ -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 @@ -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: @@ -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: | diff --git a/.github/workflows/install-shared-dependencies/action.yml b/.github/workflows/install-shared-dependencies/action.yml index 57e750ccee..589a01d52f 100644 --- a/.github/workflows/install-shared-dependencies/action.yml +++ b/.github/workflows/install-shared-dependencies/action.yml @@ -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