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

Changes for building

Neptune36b9b1dcc36d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e93c69ac1..cb6c4ec3c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -75,7 +75,20 @@ jobs:
- name: setup Bun
uses: oven-sh/setup-bun@v2
- - name: Run pre_build.js on
+ - name: Install vcpkg
+ uses: lukka/run-vcpkg@v11
+ with:
+ vcpkgGitCommitId: "2a3138723698306f4261632c92dc782f586167e3"
+
+ - name: Set up MSVC
+ uses: ilammy/msvc-dev-cmd@v1
+
+ - name: Install LLVM and Clang
+ uses: KyleMayes/install-llvm-action@v2
+ with:
+ version: "10.0"
+
+ - name: Run pre_build.js
shell: bash
run: bun ./scripts/pre_build.js
working-directory: ./screenpipe-app-tauri
@@ -119,7 +132,7 @@ jobs:
- name: setup Bun
uses: oven-sh/setup-bun@v2
- - name: Run pre_build.js on
+ - name: Run pre_build.js
shell: bash
env:
SKIP_SCREENPIPE_SETUP: true # avoid trying to copy screenpipe binaries, not yet built (next step)
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 11f5d6c15..6fb7722b3 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -165,6 +165,22 @@ jobs:
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'big-linux'
run: sudo apt-get install -y wget
+ - name: Install vcpkg
+ if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'
+ uses: lukka/run-vcpkg@v11
+ with:
+ vcpkgGitCommitId: "2a3138723698306f4261632c92dc782f586167e3"
+
+ - name: Set up MSVC
+ if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'
+ uses: ilammy/msvc-dev-cmd@v1
+
+ - name: Install LLVM and Clang
+ if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'
+ uses: KyleMayes/install-llvm-action@v2
+ with:
+ version: "10.0"
+
- name: Run pre_build.js
shell: bash
env:
@@ -199,22 +215,6 @@ jobs:
bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}
working-directory: ./screenpipe-app-tauri
- - name: Install vcpkg
- if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'
- uses: lukka/run-vcpkg@v11
- with:
- vcpkgGitCommitId: "7adc2e4d49e8d0efc07a369079faa6bc3dbb90f3"
-
- - name: Set up MSVC
- if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'
- uses: ilammy/msvc-dev-cmd@v1
-
- - name: Install LLVM and Clang
- if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'
- uses: KyleMayes/install-llvm-action@v2
- with:
- version: "10.0"
-
- name: Free Disk Space (Ubuntu)
if: matrix.platform == 'ubuntu-22.04'
uses: jlumbroso/free-disk-space@main