Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci): force VS 2022 for MSVC + set CMAKE_GENERATOR on windows-2022 runner

Louis Beaumontfff5248fd37a
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 48b011591..464a1168d 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -533,6 +533,8 @@ jobs:
- name: Set up MSVC
if: matrix.os_type == 'windows'
uses: ilammy/msvc-dev-cmd@v1
+ with:
+ vsversion: "2022"
- name: Install 7zip
if: matrix.os_type == 'windows'
@@ -799,6 +801,8 @@ jobs:
CXXFLAGS: ${{ matrix.os_type == 'macos' && (matrix.target == 'aarch64-apple-darwin' && '-mmacosx-version-min=10.15 -mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8' || '-mmacosx-version-min=10.15') || '' }}
CMAKE_C_FLAGS: ${{ matrix.os_type == 'macos' && '-mmacosx-version-min=10.15' || '' }}
CMAKE_CXX_FLAGS: ${{ matrix.os_type == 'macos' && '-mmacosx-version-min=10.15' || '' }}
+ # Force correct VS generator on windows-2022 runners (cmake crate defaults to VS 2019)
+ CMAKE_GENERATOR: ${{ matrix.os_type == 'windows' && 'Visual Studio 17 2022' || '' }}
# Optimize for build speed on Windows
CARGO_PROFILE_RELEASE_LTO: ${{ matrix.os_type == 'windows' && 'thin' || 'false' }}
CARGO_PROFILE_RELEASE_OPT_LEVEL: ${{ matrix.os_type == 'windows' && '2' || '3' }}
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index 92d42a8d3..013cdeb40 100755
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -8719,7 +8719,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.0.405"
+version = "2.0.406"
dependencies = [
"anyhow",
"async-stream",
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 8cb36e0cf..76fb39374 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.0.405"
+version = "2.0.406"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""