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

ci: set AWS_LC_SYS_PREBUILT_NASM=1 where ORT_LIB_LOCATION is used

Divanshuee19484d0fc8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b28734186..e1020f056 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -143,6 +143,8 @@ jobs:
RUSTFLAGS: "-C link-arg=/LTCG"
ORT_STRATEGY: system
ORT_LIB_LOCATION: ${{ github.workspace }}/apps/screenpipe-app-tauri/src-tauri/onnxruntime-win-x64-1.19.2
+ # Use prebuilt NASM objects on Windows: https://aws.github.io/aws-lc-rs/requirements/windows.html#prebuilt-nasm-objects
+ AWS_LC_SYS_PREBUILT_NASM: "1"
run: cargo test test_process_ocr_task_windows --release --target x86_64-pc-windows-msvc
- name: Run PII removal tests
@@ -150,6 +152,8 @@ jobs:
RUSTFLAGS: "-C link-arg=/LTCG"
ORT_STRATEGY: system
ORT_LIB_LOCATION: ${{ github.workspace }}/apps/screenpipe-app-tauri/src-tauri/onnxruntime-win-x64-1.19.2
+ # Use prebuilt NASM objects on Windows: https://aws.github.io/aws-lc-rs/requirements/windows.html#prebuilt-nasm-objects
+ AWS_LC_SYS_PREBUILT_NASM: "1"
run: cargo test -p screenpipe-core pii_removal --release --target x86_64-pc-windows-msvc
- name: Run PII redaction tests
@@ -157,6 +161,8 @@ jobs:
RUSTFLAGS: "-C link-arg=/LTCG"
ORT_STRATEGY: system
ORT_LIB_LOCATION: ${{ github.workspace }}/apps/screenpipe-app-tauri/src-tauri/onnxruntime-win-x64-1.19.2
+ # Use prebuilt NASM objects on Windows: https://aws.github.io/aws-lc-rs/requirements/windows.html#prebuilt-nasm-objects
+ AWS_LC_SYS_PREBUILT_NASM: "1"
run: cargo test -p screenpipe-server --lib pii_redaction_tests --release --target x86_64-pc-windows-msvc
# pipes_test removed — pipe manager system deleted in #2212
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index 6c5cc69e2..c41c50869 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -113,6 +113,8 @@ jobs:
RUSTFLAGS: "-C link-arg=/LTCG"
ORT_STRATEGY: system
ORT_LIB_LOCATION: ${{ github.workspace }}/apps/screenpipe-app-tauri/src-tauri/onnxruntime-win-x64-1.19.2
+ # Use prebuilt NASM objects on Windows: https://aws.github.io/aws-lc-rs/requirements/windows.html#prebuilt-nasm-objects
+ AWS_LC_SYS_PREBUILT_NASM: "1"
run: cargo build --release -p screenpipe-server --target x86_64-pc-windows-msvc
- name: Install frontend dependencies
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index b109cf2d5..81e467a3c 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -603,6 +603,8 @@ jobs:
run: |
echo "ORT_STRATEGY=system" >> $GITHUB_ENV
echo "ORT_LIB_LOCATION=${{ github.workspace }}/ort-system-lib" >> $GITHUB_ENV
+ # Use prebuilt NASM objects on Windows: https://aws.github.io/aws-lc-rs/requirements/windows.html#prebuilt-nasm-objects
+ echo "AWS_LC_SYS_PREBUILT_NASM=1" >> $GITHUB_ENV
- name: Use production config for release
shell: bash
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index ca5216100..bd0668fac 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -293,6 +293,8 @@ jobs:
RUSTFLAGS: "-C link-arg=/LTCG"
ORT_STRATEGY: system
ORT_LIB_LOCATION: ${{ github.workspace }}/apps/screenpipe-app-tauri/src-tauri/onnxruntime-win-x64-1.19.2
+ # Use prebuilt NASM objects on Windows: https://aws.github.io/aws-lc-rs/requirements/windows.html#prebuilt-nasm-objects
+ AWS_LC_SYS_PREBUILT_NASM: "1"
run: |
cargo build --release --target x86_64-pc-windows-msvc
diff --git a/.github/workflows/release-enterprise-windows.yml b/.github/workflows/release-enterprise-windows.yml
index 9d12a4882..a2497e421 100644
--- a/.github/workflows/release-enterprise-windows.yml
+++ b/.github/workflows/release-enterprise-windows.yml
@@ -141,6 +141,8 @@ jobs:
run: |
echo "ORT_STRATEGY=system" >> $GITHUB_ENV
echo "ORT_LIB_LOCATION=${{ github.workspace }}/ort-system-lib" >> $GITHUB_ENV
+ # Use prebuilt NASM objects on Windows: https://aws.github.io/aws-lc-rs/requirements/windows.html#prebuilt-nasm-objects
+ echo "AWS_LC_SYS_PREBUILT_NASM=1" >> $GITHUB_ENV
- name: Use enterprise config
shell: bash
diff --git a/.github/workflows/windows-integration-test.yml b/.github/workflows/windows-integration-test.yml
index 173c79f08..648e6c0f0 100644
--- a/.github/workflows/windows-integration-test.yml
+++ b/.github/workflows/windows-integration-test.yml
@@ -91,6 +91,8 @@ jobs:
RUSTFLAGS: "-C link-arg=/LTCG"
ORT_STRATEGY: system
ORT_LIB_LOCATION: ${{ github.workspace }}/apps/screenpipe-app-tauri/src-tauri/onnxruntime-win-x64-1.19.2
+ # Use prebuilt NASM objects on Windows: https://aws.github.io/aws-lc-rs/requirements/windows.html#prebuilt-nasm-objects
+ AWS_LC_SYS_PREBUILT_NASM: "1"
run: cargo build --release --target x86_64-pc-windows-msvc
- name: Run CLI and generate activity