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)

OP OpenVibers committed 16 days ago · cd1f9c908d · 2 files, +24 −0

Changes

ddiff --git a/.gitattributes b/.gitattributes
nnew file mode 100644
iindex 0000000..130ff24
---- /dev/null
++++ b/.gitattributes
@@@ -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
ddiff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
iindex 158cdab..65ffc6a 100644
---- a/.github/workflows/ci.yml
++++ b/.github/workflows/ci.yml
@@@ -13,5 +13,24 @@ jobs:
syntax-dirs: scripts
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.
++ # 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:
uses: OpenVibers/OpenVibe.Shared/.github/workflows/security.yml@66b76f868ea8228aad7811309eafef3726b036f3