Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,29 @@ jobs:
- name: Run tests
if: matrix.os != 'ubuntu-latest'
run: bun test
env:
BUNLET_CLI_ROUNDTRIP: '1'

- name: Run tests (with virtual display)
if: matrix.os == 'ubuntu-latest'
run: xvfb-run bun test
env:
BUNLET_CLI_ROUNDTRIP: '1'

- name: Run benchmark tests
run: bun test packages/bunlet/src/benchmark.test.ts

- name: Smoke-test examples
if: matrix.os != 'ubuntu-latest'
run: bun run smoke

- name: Smoke-test examples (with virtual display)
if: matrix.os == 'ubuntu-latest'
run: xvfb-run bun run smoke

- name: Run doctor (post-build, must report clean)
run: bun run doctor

rust-check:
name: Rust check
runs-on: macos-latest
Expand Down Expand Up @@ -155,7 +170,6 @@ jobs:
cd packages/bunlet-cef
cargo build --manifest-path ../bunlet-cef-native/Cargo.toml --release --target ${{ matrix.rust-target }}
bun run copy-artifact
continue-on-error: true

- name: Upload bunlet-native artifacts
uses: actions/upload-artifact@v4
Expand All @@ -164,7 +178,6 @@ jobs:
path: packages/bunlet-native/*.node

- name: Upload bunlet-cef artifacts
if: steps.build-cef.outcome == 'success'
uses: actions/upload-artifact@v4
with:
name: bunlet-cef-${{ matrix.platform }}
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ examples/*/test-dist/
packages/bunlet-native/target/
packages/bunlet-cef-native/target/
**/*.rs.bk
Cargo.lock
# Cargo.lock is committed for cdylib reproducibility — do NOT re-add the
# blanket ignore. CEF/cef-dll-sys minor versions have shipped breaking
# API changes; without a lock CI silently picks newer ones and breaks.

# Release artifacts
release/
Expand Down Expand Up @@ -88,3 +90,4 @@ temp/

# Debug files
*.dSYM/
tmp-roundtrip-*
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"typecheck": "(cd packages/bunlet && bun run typecheck) && (cd packages/bunlet-cli && bun run typecheck)",
"lint": "bunx oxlint --quiet packages/*/src/",
"doctor": "bun run scripts/doctor.ts",
"smoke": "bun run scripts/smoke.ts",
"clean": "rm -rf packages/*/dist packages/*/*.node examples/*/*.bunlet-preload.js",
"version:bump": "bun run scripts/bump-version.ts",
"version:changelog": "bun run scripts/generate-changelog.ts"
Expand Down
Loading
Loading