{"id":16714173,"url":"https://github.com/flier/install-hyperscan","last_synced_at":"2026-01-01T23:45:24.990Z","repository":{"id":140004017,"uuid":"410497503","full_name":"flier/install-hyperscan","owner":"flier","description":"Install Hyperscan for your build","archived":false,"fork":false,"pushed_at":"2024-12-01T16:34:28.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T07:38:34.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-26T08:41:40.000Z","updated_at":"2024-12-01T16:34:32.000Z","dependencies_parsed_at":"2024-12-01T17:34:18.991Z","dependency_job_id":null,"html_url":"https://github.com/flier/install-hyperscan","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flier%2Finstall-hyperscan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flier%2Finstall-hyperscan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flier%2Finstall-hyperscan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flier%2Finstall-hyperscan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flier","download_url":"https://codeload.github.com/flier/install-hyperscan/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695589,"owners_count":20332629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T20:49:45.300Z","updated_at":"2026-01-01T23:45:24.948Z","avatar_url":"https://github.com/flier.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# install-hyperscan\n\nThis action download, build and install [Hyperscan](https://github.com/intel/hyperscan/) library for your build.\n\n## Usage\n\nSee [action.yml](action.yml) metadata and [ci.yml](https://github.com/flier/gohs/blob/master/.github/workflows/ci.yml) example.\n\n### Basic\n\n```yaml\njobs:\n  build-and-test:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: flier/install-hyperscan@v1\n        with:\n          hyperscan_version: 5.4.0    # The Hyperscan version to download (if necessary) and use.\n          pcre: 8.45                  # The PCRE version to download (if necessary) and use to build Chimera.\n          install_dependencies: true\n```\n\n### Matrix Testing\n\n```yaml\njobs:\n  build-and-test:\n    strategy:\n      matrix:\n        include:\n          - os: macos-latest\n            hyperscan: 5.4.0\n            pcre: 8.45\n          - os: ubuntu-20.04\n            hyperscan: 5.2.1\n            pcre: 8.45\n          - os: ubuntu-18.04\n            hyperscan: 4.7.0\n            pcre: 8.41\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Install Hyperscan ${{ matrix.hyperscan }} with PCRE ${{ matrix.pcre }}\n        uses: flier/install-hyperscan@v1\n        with:\n          hyperscan_version: ${{ matrix.hyperscan }}\n          pcre_version: ${{ matrix.pcre }}\n          install_dependencies: true\n```\n\n### Cached\n\n```yaml\njobs:\n  build-and-test:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Install Hyperscan ${{ matrix.hyperscan }} with PCRE ${{ matrix.pcre }}\n        if: steps.cache-hyperscan.outputs.cache-hit == false\n        uses: flier/install-hyperscan@v1\n        with:\n          hyperscan_version: 5.4.0\n          build_static_lib: on\n          install_prefix: ${{ github.workspace }}/dist/\n          install_dependencies: true\n          use_cache: true\n```\n\n## Inputs\n\n### Parameters\n\n| name                          | description                                                                       | default        |\n| ----------------------------- | --------------------------------------------------------------------------------- | -------------- |\n| `hyperscan_version`           | The version of Hyperscan library.                                                 | 5.4.0          |\n| `pcre_version`                | The version of PCRE library.                                                      | 8.45           |\n| `vectorscan`                  | Use Vectorscan instead of Hyperscan.                                              | false          |\n| `install_dependencies`        | Install dependencies for building.                                                | Linux or MacOS |\n| `src_dir`                     | The directory of Hyperscan source.                                                | hyperscan_src  |\n| `build_type`                  | Define which kind of build to generate.                                           | RelWithDebInfo |\n| `build_static_lib`            | Build Hyperscan as a static library.                                              | on             |\n| `build_shared_lib`            | Build Hyperscan as a shared library.                                              | off            |\n| `build_static_and_shared_lib` | Build both static and shared Hyperscan libs.                                      | off            |\n| `debug_output`                | Enable very verbose debug output.                                                 | off            |\n| `install_prefix`              | Install directory for install target                                              | /usr/local     |\n| `use_cache`                   | Allows caching build outputs to improve execution time.                           | false          |\n| `cache_key`                   | An explicit key for restoring and saving the cache                                |                |\n| `upload_artifact`             | Upload and share library between jobs and store data once a workflow is complete. | false          |\n\n## License\n\nThis project is licensed under either of Apache License ([LICENSE-APACHE](LICENSE-APACHE)) or MIT license ([LICENSE-MIT](LICENSE-MIT)) at your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in Futures by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflier%2Finstall-hyperscan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflier%2Finstall-hyperscan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflier%2Finstall-hyperscan/lists"}