Skip to content

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,

@paddle-bot
Copy link

paddle-bot bot commented Feb 6, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contrib/contributor Contributor-related discussion or task. label Feb 6, 2025
nonwill added a commit to nonwill/PaddleOCR that referenced this pull request Feb 6, 2025
@GreatV GreatV closed this Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contrib/contributor Contributor-related discussion or task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant