From a3cb76d1d947c4de54e5c0a19c54b1c85e0f985e Mon Sep 17 00:00:00 2001 From: tim777z Date: Sun, 13 Sep 2026 14:36:08 +0200 Subject: [PATCH] datafactor: add README install section, docker-compose, CI --- .github/workflows/ci.yml | 13 +++++++++++++ README.md | 18 ++++++++++++++++++ docker-compose.yml | 5 +++++ 3 files changed, 36 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 docker-compose.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000000..89182266bc1f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,13 @@ +name: CI +on: + push: + branches: [main, master] + pull_request: + branches: [main, master] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: mkdir build && cd build && cmake .. && make -j$(nproc) + - run: cd build && make test diff --git a/README.md b/README.md index da3c9613c743..b531492fb4bf 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,21 @@ Summary of guidelines: * Include tests and documentation; * Clean up "oops" commits before submitting; * Follow the coding style guide. + +## Getting Started + +### Prerequisites +- CMake +- C++ compiler + +### Install +```bash +mkdir build && cd build +cmake .. +make -j$(nproc) +``` + +### Test +```bash +make test +``` diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000000..30d3e1021f65 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,5 @@ +services: + opencv: + build: . + volumes: + - .:/app