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

Move ORT smoke crate under .github

Louis Beaumontb9a0078ebb50
diff --git a/ci/ort-smoke/Cargo.toml b/.github/ci/ort-smoke/Cargo.toml
similarity index 100%
rename from ci/ort-smoke/Cargo.toml
rename to .github/ci/ort-smoke/Cargo.toml
diff --git a/ci/ort-smoke/src/main.rs b/.github/ci/ort-smoke/src/main.rs
similarity index 100%
rename from ci/ort-smoke/src/main.rs
rename to .github/ci/ort-smoke/src/main.rs
diff --git a/.github/workflows/ort-init-smoke.yml b/.github/workflows/ort-init-smoke.yml
index 9e60a8afd..c2fc5ae92 100644
--- a/.github/workflows/ort-init-smoke.yml
+++ b/.github/workflows/ort-init-smoke.yml
@@ -7,7 +7,7 @@
# A build that compiles does NOT catch the regression: ort's `load-dynamic`
# strategy deadlocks at runtime inside the first `Session::builder()` call on
# some platforms (Windows x86_64 and ARM64). This builds a tiny standalone crate
-# (ci/ort-smoke) that mirrors screenpipe-audio's per-target ONNX Runtime link
+# (.github/ci/ort-smoke) that mirrors screenpipe-audio's per-target ONNX Runtime link
# strategy and actually runs the init under a 60s deadline — exit 1 == HANG.
#
# Covers the two platforms that lacked any ONNX init coverage (macOS Intel via
@@ -19,13 +19,13 @@ on:
push:
branches: [main]
paths:
- - "ci/ort-smoke/**"
+ - ".github/ci/ort-smoke/**"
- "crates/screenpipe-audio/Cargo.toml"
- "crates/screenpipe-redact/Cargo.toml"
- ".github/workflows/ort-init-smoke.yml"
pull_request:
paths:
- - "ci/ort-smoke/**"
+ - ".github/ci/ort-smoke/**"
- "crates/screenpipe-audio/Cargo.toml"
- "crates/screenpipe-redact/Cargo.toml"
- ".github/workflows/ort-init-smoke.yml"
@@ -93,8 +93,8 @@ jobs:
if: matrix.label == 'windows-arm64'
shell: pwsh
run: |
- cargo build --manifest-path ci/ort-smoke/Cargo.toml
- $exeDir = "ci/ort-smoke/target/debug"
+ cargo build --manifest-path .github/ci/ort-smoke/Cargo.toml
+ $exeDir = ".github/ci/ort-smoke/target/debug"
Copy-Item "$env:ORT_LIB_LOCATION/onnxruntime.dll" $exeDir -Force
if (Test-Path "$env:ORT_LIB_LOCATION/onnxruntime_providers_shared.dll") {
Copy-Item "$env:ORT_LIB_LOCATION/onnxruntime_providers_shared.dll" $exeDir -Force
@@ -103,4 +103,4 @@ jobs:
- name: Smoke-test ONNX Runtime init
if: matrix.label != 'windows-arm64'
- run: cargo run --manifest-path ci/ort-smoke/Cargo.toml
+ run: cargo run --manifest-path .github/ci/ort-smoke/Cargo.toml
diff --git a/Cargo.toml b/Cargo.toml
index 57867c7f9..2c3086cb5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ exclude = [
"apps/screenpipe-app-tauri/src-tauri",
"crates/screenpipe-integrations",
"ee/sdk",
- "ci/ort-smoke",
+ ".github/ci/ort-smoke",
]
resolver = "2"