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

vcpkg dep for windows build(4)

matthew-heartfule509775714cb
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d54afddc1..734a316b4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -79,6 +79,22 @@ jobs:
- name: Run specific Windows OCR test
run: cargo test test_process_ocr_task_windows
+ - name: Identify esaxx usage (Windows)
+ if: runner.os == 'Windows'
+ run: |
+ cargo tree > cargo_tree_output.txt
+ findstr /i "esaxx" cargo_tree_output.txt
+ continue-on-error: true
+
+ - name: Set RUSTFLAGS for Linux
+ if: runner.os == 'Linux'
+ run: echo "RUSTFLAGS=-C link-arg=-Wl,--allow-multiple-definition" >> $GITHUB_ENV
+
+ - name: Run tests with modified environment
+ run: cargo test
+ env:
+ RUSTFLAGS: ${{ env.RUSTFLAGS }}
+
test-macos:
runs-on: macos-latest
steps: