Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add action for cpp_infer build #14624

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Conversation

GreatV
Copy link
Collaborator

@GreatV GreatV commented Feb 6, 2025

This pull request introduces a new GitHub Actions workflow for building and testing C++ inference code across multiple operating systems. The workflow is designed to work on Ubuntu, macOS, and Windows, and it includes steps for setting up dependencies, caching libraries, building the project, and running tests.

Key changes include:

New GitHub Actions Workflow:

  • Added a new workflow file .github/workflows/cpp_infer.yml for C++ inference build and test. This workflow triggers on pushes and pull requests to the master and main branches, as well as manual dispatch.

Environment Setup:

  • Defined environment variables for build type and OpenCV version.
  • Configured matrix strategy to run jobs on ubuntu-latest, macos-latest, and windows-latest with specific URLs for downloading dependencies.

Dependency Installation:

  • Added steps to install necessary dependencies for each operating system:
    • For Ubuntu: build-essential, cmake, libgoogle-glog-dev, libgflags-dev, libprotobuf-dev, and protobuf-compiler.
    • For macOS: cmake, protobuf, gflags, and glog via Homebrew.
    • For Windows: cmake,

Copy link

paddle-bot bot commented Feb 6, 2025

Thanks for your contribution!

nonwill added a commit to nonwill/PaddleOCR that referenced this pull request Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant