Add CI configuration and unit tests
Summary
- Add GitLab CI configuration with build, test, and deploy stages
- Port C++ unit tests from hive repo (
refactor/fc-submodulebranch) - Add CMake test infrastructure
Details
CI Jobs
-
beekeeper_native_build: Compiles native C++ beekeeper binary -
beekeeper_wasm_build: Builds TypeScript/WASM package -
test_beekeeper_wasm: Runs Playwright WASM tests -
run_examples_beekeeper_wasm: Validates example projects -
deploy_beekeeper_wasm_production_public_npm: Production deploy (tags only)
Note: Dev package deploy job is disabled until ready for production.
Unit Tests
Ported from hive with conditional compilation guards:
-
beekeeper_tests.cpp: 30 test cases (27 run without hive protocol) -
beekeeper_api_tests.cpp: Requires full hive chain (skipped in standalone)
Build tests with: cmake -DBUILD_TESTS=ON ..