openvibers/openvibe.examples Commits
CI: every example's tests and the developer path on Windows and macOS too; LF line endings on every checkout (#52)
Changes
nnew file mode 100644@@@ -0,0 +1,5 @@++# One line ending on every OS (Windows checkouts are CRLF otherwise; the SDK found it on 2026-10-27).++* text=auto eol=lf++*.png binary++*.jpg binary++*.ico binary@@@ -13,5 +13,24 @@ jobs:syntax-dirs: scriptsextra: npm run developer-path:mock # the developer path end to end against mocks# Secret scan (gitleaks) and dependency audit, shared by every OpenVibers repo.++ # The examples are what a developer copies, on whatever OS they use (owner, 2026-10-27: "the shared SDK and API … work++ # well across multi-platform"): every example's tests and the developer path, on Windows and macOS too.++ other-os:++ name: test (${{ matrix.os }})++ strategy:++ fail-fast: false++ matrix:++ os: [windows-latest, macos-latest]++ runs-on: ${{ matrix.os }}++ steps:++ - uses: actions/checkout@v4++ - uses: actions/setup-node@v4++ with:++ node-version: 22++ - run: npm ci --no-audit --no-fund++ - run: npm test++ env:++ OV_ALLOW_SUITE: '1'++ - run: npm run developer-path:mocksecurity:uses: OpenVibers/OpenVibe.Shared/.github/workflows/security.yml@66b76f868ea8228aad7811309eafef3726b036f3
new file mode 100644
new file mode 100644
@@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
+# One line ending on every OS (Windows checkouts are CRLF otherwise; the SDK found it on 2026-10-27).
+* text=auto eol=lf
+*.png binary
+*.jpg binary
+*.ico binary
@@ -13,5 +13,24 @@ jobs:
@@ -13,5 +13,24 @@ jobs:
syntax-dirs: scripts
syntax-dirs: scripts
extra: npm run developer-path:mock # the developer path end to end against mocks
extra: npm run developer-path:mock # the developer path end to end against mocks
# Secret scan (gitleaks) and dependency audit, shared by every OpenVibers repo.
# Secret scan (gitleaks) and dependency audit, shared by every OpenVibers repo.
+ # The examples are what a developer copies, on whatever OS they use (owner, 2026-10-27: "the shared SDK and API … work
+ # well across multi-platform"): every example's tests and the developer path, on Windows and macOS too.
+ other-os:
+ name: test (${{ matrix.os }})
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [windows-latest, macos-latest]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ - run: npm ci --no-audit --no-fund
+ - run: npm test
+ env:
+ OV_ALLOW_SUITE: '1'
+ - run: npm run developer-path:mock
security:
security:
uses: OpenVibers/OpenVibe.Shared/.github/workflows/security.yml@66b76f868ea8228aad7811309eafef3726b036f3
uses: OpenVibers/OpenVibe.Shared/.github/workflows/security.yml@66b76f868ea8228aad7811309eafef3726b036f3