Skip to content

Add scip-clang code intelligence indexing via GitHub Actions - #48

Merged
eseliger merged 1 commit into
masterfrom
add-scip-clang-indexing-eef9ff94-d9da-45d8-9291-f83f8ed5f1e4
Jul 17, 2026
Merged

eseliger merged 1 commit into
masterfrom
add-scip-clang-indexing-eef9ff94-d9da-45d8-9291-f83f8ed5f1e4

Conversation

@eseliger

@eseliger eseliger commented Jul 17, 2026 •

Copy link
Copy Markdown
Member

This adds a GitHub Actions workflow (.github/workflows/scip-clang.yml) that
builds p4-fusion and uploads a precise SCIP code intelligence index to
Sourcegraph S2 on every push to master.

The workflow reuses the repository's existing build recipe from
validate-migration.yaml:

  • Downloads the Perforce Helix Core C++ API into vendor/helix-core-api/linux.
  • Builds OpenSSL 1.1.1w from source (required by the Helix API).
  • Configures and builds via generate_cache.sh + build.sh, additionally
    exporting a Clang compilation database (build/compile_commands.json) by
    setting CMAKE_EXPORT_COMPILE_COMMANDS=ON.
  • Runs scip-clang against the compilation database and uploads the resulting
    index.scip with src code-intel upload.

The indexing job runs on ubuntu-24.04 because current scip-clang releases
require glibc 2.38+. src is downloaded directly from the target instance so it
always matches the server version, and the latest scip-clang release is
resolved at runtime.

Requires a repository Actions secret SRC_ACCESS_TOKEN_S2 holding a Sourcegraph
S2 access token.

Created by Sourcegraph agentic batch change.

@eseliger
eseliger force-pushed the add-scip-clang-indexing-eef9ff94-d9da-45d8-9291-f83f8ed5f1e4 branch 2 times, most recently from 4d109ba to b6ff54f Compare July 17, 2026 21:51
@eseliger
eseliger marked this pull request as ready for review July 17, 2026 22:01
@eseliger
eseliger force-pushed the add-scip-clang-indexing-eef9ff94-d9da-45d8-9291-f83f8ed5f1e4 branch from b6ff54f to 107a50d Compare July 17, 2026 22:01
@eseliger
eseliger merged commit 39177be into master Jul 17, 2026
7 of 11 checks passed
@eseliger
eseliger deleted the add-scip-clang-indexing-eef9ff94-d9da-45d8-9291-f83f8ed5f1e4 branch July 17, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant