Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
87e2bfd
Add C++ infrastructure: build, format, lint, and unit test tooling
mkolodner-sc Mar 25, 2026
a18fb47
Remove pybind11 import from generate_compile_commands — bundled in to…
mkolodner-sc Mar 25, 2026
c127f2b
ppr seq
yliu2-sc Mar 25, 2026
b5b8027
Auto-build C++ extensions in post_install; auto-add LLVM to PATH on Mac
mkolodner-sc Mar 25, 2026
9d3c8df
Rename setup.py to build_cpp_extensions.py; add build_cpp_extensions …
mkolodner-sc Mar 25, 2026
ace7126
Scope C++ extension discovery to gigl/cpp_extensions/
mkolodner-sc Mar 25, 2026
48be4cc
Remove unnecessary existence check for build_cpp_extensions.py in pos…
mkolodner-sc Mar 25, 2026
1b153b7
Review fixes + adopt PyTorch csrc conventions for C++ layout
mkolodner-sc Mar 25, 2026
03ed8c4
Add multi-source C++ ext support, gigl/csrc package init, and .so git…
mkolodner-sc Mar 25, 2026
638e667
Move build_cpp_extensions.py to scripts/ and wire into relevant make …
mkolodner-sc Mar 25, 2026
416f6b4
Initial commit
mkolodner-sc Mar 30, 2026
4af704e
merge main
mkolodner-sc Mar 30, 2026
91d99d3
Update
mkolodner-sc Mar 31, 2026
3d41dc3
Update
mkolodner-sc Mar 31, 2026
04cee0c
Fix for gs mode
mkolodner-sc Mar 31, 2026
99fdef2
Address comment
mkolodner-sc Mar 31, 2026
04df860
Merge branch 'mkolodner-sc/fix_ppr_memory' into mkolodner-sc/cpp-infr…
mkolodner-sc Mar 31, 2026
210c1dd
Upate
mkolodner-sc Apr 1, 2026
909faf4
Merge branch 'main' into mkolodner-sc/cpp-infrastructure
mkolodner-sc Apr 1, 2026
628a9f2
Update tidy and format
mkolodner-sc Apr 10, 2026
75863a6
Update
mkolodner-sc Apr 10, 2026
cffa7ba
Update guidance
mkolodner-sc Apr 10, 2026
49e9497
Update
mkolodner-sc Apr 10, 2026
3e1bf6b
Fix
mkolodner-sc Apr 10, 2026
7fd3ed9
Fix
mkolodner-sc Apr 10, 2026
a682ded
Update
mkolodner-sc Apr 10, 2026
83e51bc
Update
mkolodner-sc Apr 14, 2026
5e55f54
Updaate
mkolodner-sc Apr 16, 2026
7b742f2
Add C++ linting infrastructure with clangd
mkolodner-sc Apr 16, 2026
43c4271
Update
mkolodner-sc Apr 16, 2026
d0859a3
Update
mkolodner-sc Apr 16, 2026
d07ca57
Update
mkolodner-sc Apr 16, 2026
4815fae
Update
mkolodner-sc Apr 16, 2026
912e5db
Update
mkolodner-sc Apr 16, 2026
5064788
Address comments
mkolodner-sc Apr 17, 2026
099dd2a
Restore
mkolodner-sc Apr 17, 2026
830da8b
Update
mkolodner-sc Apr 17, 2026
3afb8a2
Update
mkolodner-sc Apr 18, 2026
b37786c
Update
mkolodner-sc Apr 20, 2026
ab51157
Update
mkolodner-sc Apr 20, 2026
df98b20
Fix
mkolodner-sc Apr 20, 2026
1165fd3
Fixes
mkolodner-sc Apr 20, 2026
4b579aa
Update
mkolodner-sc Apr 20, 2026
f4b015e
Update uv lock
mkolodner-sc Apr 20, 2026
01a9b2c
Merge
mkolodner-sc Apr 20, 2026
0f253d2
Update
mkolodner-sc Apr 20, 2026
18a7316
Fix
mkolodner-sc Apr 20, 2026
b56945e
Bump pyproject version
mkolodner-sc Apr 20, 2026
30e4e30
bump back to 0.2.0
mkolodner-sc Apr 20, 2026
cbf07f3
[AUTOMATED] Update dep.vars, and other relevant files with new image …
github-actions[bot] Apr 20, 2026
870e936
Add cpp test to gh comment
mkolodner-sc Apr 20, 2026
77e1a02
Update dockerfile with readme
mkolodner-sc Apr 20, 2026
ce9f1e2
update style guide
mkolodner-sc Apr 20, 2026
61f4965
Small update
mkolodner-sc Apr 20, 2026
3af2a33
remove mypy change
mkolodner-sc Apr 20, 2026
f417365
Make necessary changes for when we need to introduce cuda cpp operations
mkolodner-sc Apr 20, 2026
83bb8a6
Additional fixes to cuda setup
mkolodner-sc Apr 21, 2026
712d1e2
Add additional cuda fixes
mkolodner-sc Apr 21, 2026
2861b8d
remove no build isolation from calls, update pyproject to not build i…
mkolodner-sc Apr 21, 2026
adf7046
remove additional build isolations
mkolodner-sc Apr 21, 2026
549702b
Update release
mkolodner-sc Apr 22, 2026
ba300c3
Address additional cpp comments
mkolodner-sc Apr 22, 2026
fc68f9d
cleanup
mkolodner-sc Apr 22, 2026
fa1ee91
Updates
mkolodner-sc Apr 22, 2026
bb87166
Update
mkolodner-sc Apr 22, 2026
907fc12
continued updates
mkolodner-sc Apr 22, 2026
d079113
Updates
mkolodner-sc Apr 22, 2026
a49a4c5
Simplify requirements
mkolodner-sc Apr 23, 2026
3738af6
Update uv
mkolodner-sc Apr 23, 2026
00d836f
[AUTOMATED] Update dep.vars, and other relevant files with new image …
github-actions[bot] Apr 23, 2026
295138a
Update
mkolodner-sc Apr 23, 2026
e070854
Address comments
mkolodner-sc Apr 23, 2026
5484c42
Update
mkolodner-sc Apr 23, 2026
cf8a35b
Potential fix
mkolodner-sc Apr 24, 2026
928d5c7
Update
mkolodner-sc Apr 24, 2026
d4b7da3
Update to gigl-core
mkolodner-sc Apr 24, 2026
1b774cc
update uv lock
mkolodner-sc Apr 24, 2026
50dc620
Update uv
mkolodner-sc Apr 24, 2026
1ea0a29
remove stale changes
mkolodner-sc Apr 24, 2026
d1dd8e3
remove stale files
mkolodner-sc Apr 24, 2026
b0abe98
Fix
mkolodner-sc Apr 24, 2026
e015cda
remove cpp references
mkolodner-sc Apr 24, 2026
b7782de
small fixes
mkolodner-sc Apr 24, 2026
57c6df3
Update release
mkolodner-sc Apr 24, 2026
65d1788
Update
mkolodner-sc Apr 24, 2026
45cd03a
Update release todo and copy readme in dockerfiles
mkolodner-sc Apr 24, 2026
308fd67
update builder dockerfile
mkolodner-sc Apr 25, 2026
c95a426
[AUTOMATED] Update dep.vars, and other relevant files with new image …
github-actions[bot] Apr 25, 2026
50acb28
Format md
mkolodner-sc Apr 25, 2026
64d2c20
fix dockerfile
mkolodner-sc Apr 25, 2026
36d0dbb
update dataflow dockerfile
mkolodner-sc Apr 25, 2026
2611c58
Update release to have cmake
mkolodner-sc Apr 26, 2026
e799806
Use explicit publish-url in release workflow instead of named index
mkolodner-sc Apr 26, 2026
496abda
Remove unused index-name field from release matrix
mkolodner-sc Apr 26, 2026
ab3d60b
Clear stale cmake cache before gigl-core wheel build
mkolodner-sc Apr 26, 2026
0bb3d34
remove c++ manual check
mkolodner-sc Apr 26, 2026
495c19d
Comments
mkolodner-sc Apr 27, 2026
2f0f753
Update
mkolodner-sc Apr 27, 2026
294e4d2
update releasing guide
mkolodner-sc Apr 27, 2026
d4f0126
[AUTOMATED] Update dep.vars, and other relevant files with new image …
github-actions[bot] Apr 27, 2026
cb1ebb0
Update
mkolodner-sc Apr 27, 2026
03a2175
Update
mkolodner-sc Apr 27, 2026
525f8fc
Update
mkolodner-sc Apr 27, 2026
ed87989
[AUTOMATED] Update dep.vars, and other relevant files with new image …
github-actions[bot] Apr 27, 2026
6bb8943
Address some comments
mkolodner-sc Apr 27, 2026
8282bbc
Format
mkolodner-sc Apr 27, 2026
fcf320d
Merge branch 'mkolodner-sc/cpp-infrastructure' of github.com:Snapchat…
mkolodner-sc Apr 27, 2026
8dbd4c4
Address comments
mkolodner-sc Apr 27, 2026
b598f3d
update uv lock
mkolodner-sc Apr 27, 2026
a482bed
[AUTOMATED] Update dep.vars, and other relevant files with new image …
github-actions[bot] Apr 27, 2026
f40e94e
Address comments
mkolodner-sc Apr 28, 2026
dba5580
Merge branch 'mkolodner-sc/cpp-infrastructure' of github.com:Snapchat…
mkolodner-sc Apr 28, 2026
3e26b41
merge main
mkolodner-sc Apr 28, 2026
6b031e1
update fix lint cpp
mkolodner-sc Apr 28, 2026
6ffbead
fix
mkolodner-sc Apr 28, 2026
6179f33
Fix
mkolodner-sc Apr 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
---
# BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: false
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakAfterJavaFieldAnnotations: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: false
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
FixNamespaceComments: true
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
# Lower Priority numbers sort first (Priority 1 appears before Priority 2, etc.).
# List order matches priority order (1 → 2 → 3); torch/pybind11 must be listed before the
# broader '^<' rule so it is matched first.
# Result: torch/pybind11 (1) → system/third-party (2) → project-local headers (3).
# Add graphlearn_torch to the Priority 1 regex when GLT headers appear in the codebase.
IncludeCategories:
- Regex: '^<(torch|pybind11)/'
Priority: 1
- Regex: '^(<|"gtest/)'
Priority: 2
- Regex: '.*'
Priority: 3
IncludeIsMainRegex: '^$'
IndentCaseLabels: true
IndentWidth: 4
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 4
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 10000000
PointerAlignment: Left
RawStringFormats:
- Delimiters: [pb]
Language: TextProto
BasedOnStyle: google
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: c++17
TabWidth: 4
UseTab: Never
...
236 changes: 236 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
---
# -bugprone-implicit-widening-of-multiplication-result is disabled because it
# crashes clang-tidy 15 on a construct in ATen/core/dynamic_type.h (upstream
# LLVM bug). Re-enable when upgrading past clang-tidy 15.
# All other disabled checks are documented in docs/cpp_style_guide.md.
Checks: >
boost-use-to-string,
bugprone-*,
-bugprone-easily-swappable-parameters,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-narrowing-conversions,
cert-err34-c,
cert-flp30-c,
cert-msc32-c,
cert-msc50-cpp,
cert-msc51-cpp,
clang-diagnostic-*,
cppcoreguidelines-interfaces-global-init,
cppcoreguidelines-no-malloc,
cppcoreguidelines-pro-type-static-cast-downcast,
cppcoreguidelines-pro-type-union-access,
cppcoreguidelines-slicing,
google-build-namespaces,
google-explicit-constructor,
google-global-names-in-headers,
google-readability-casting,
google-runtime-member-string-references,
google-runtime-memset,
hicpp-exception-baseclass,
misc-*,
-misc-confusable-identifiers,
-misc-const-correctness,
-misc-no-recursion,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-use-trailing-return-type,
performance-*,
readability-*,
-readability-avoid-const-params-in-decls,
-readability-function-cognitive-complexity,
-readability-container-contains,
-readability-identifier-length,
-readability-magic-numbers,

# WarningsAsErrors and HeaderFilterRegex work together:
# HeaderFilterRegex scopes which headers clang-tidy reports diagnostics for.
# Warnings from headers outside the regex (PyTorch, pybind11, etc.) are suppressed
# entirely and never reach WarningsAsErrors — so the large warning counts printed
# by clang-tidy ("N warnings generated") are third-party noise that is silently
# dropped. Only diagnostics in our own headers (.*/gigl/csrc/.*) are reported,
# and those are treated as hard errors.
WarningsAsErrors: '*'
HeaderFilterRegex: '.*/gigl-core/csrc/.*'
FormatStyle: none
# CheckOptions: per-check tuning parameters. Each entry configures a specific
# option for an individual check, using the form:
# key: <check-name>.<OptionName>
# value: <value>
# These let you adjust thresholds, naming patterns, and behavior without
# enabling or disabling the check entirely.
CheckOptions:
- key: bugprone-argument-comment.StrictMode
value: '0'
- key: bugprone-assert-side-effect.AssertMacros
value: 'assert,SC_ASSERT'
- key: bugprone-assert-side-effect.CheckFunctionCalls
value: '0'
- key: bugprone-dangling-handle.HandleClasses
value: 'std::basic_string_view;std::experimental::basic_string_view'
- key: bugprone-string-constructor.LargeLengthThreshold
value: '8388608'
- key: bugprone-string-constructor.WarnOnLargeLength
value: '1'
- key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
value: '1'
- key: google-global-names-in-headers.HeaderFileExtensions
value: ',h,hh,hpp,hxx'
- key: google-readability-function-size.StatementThreshold
value: '800'
- key: google-readability-namespace-comments.ShortNamespaceLines
value: '10'
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '2'
- key: misc-definitions-in-headers.HeaderFileExtensions
value: ',h,hh,hpp,hxx'
- key: misc-definitions-in-headers.UseHeaderFileExtension
value: '1'
- key: misc-misplaced-widening-cast.CheckImplicitCasts
value: '0'
- key: misc-sizeof-expression.WarnOnSizeOfCompareToConstant
value: '1'
- key: misc-sizeof-expression.WarnOnSizeOfConstant
value: '1'
- key: misc-sizeof-expression.WarnOnSizeOfThis
value: '1'
- key: misc-suspicious-enum-usage.StrictMode
value: '0'
- key: misc-suspicious-missing-comma.MaxConcatenatedTokens
value: '5'
- key: misc-suspicious-missing-comma.RatioThreshold
value: '0.200000'
- key: misc-suspicious-missing-comma.SizeThreshold
value: '5'
- key: misc-suspicious-string-compare.StringCompareLikeFunctions
value: ''
- key: misc-suspicious-string-compare.WarnOnImplicitComparison
value: '1'
- key: misc-suspicious-string-compare.WarnOnLogicalNotComparison
value: '0'
- key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries
value: '1'
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-loop-convert.MinConfidence
value: reasonable
- key: modernize-loop-convert.NamingStyle
value: camelBack
- key: modernize-loop-convert.UseCxx20ReverseRanges
value: '0'
- key: modernize-make-unique.IgnoreMacros
value: '1'
- key: modernize-make-unique.IncludeStyle
value: 'llvm'
- key: modernize-make-unique.MakeSmartPtrFunction
value: 'std::make_unique'
- key: modernize-make-unique.MakeSmartPtrFunctionHeader
value: memory
- key: modernize-pass-by-value.IncludeStyle
value: llvm
- key: modernize-replace-auto-ptr.IncludeStyle
value: llvm
- key: modernize-use-emplace.ContainersWithPushBack
value: '::std::vector;::std::list;::std::deque'
- key: modernize-use-emplace.SmartPointers
value: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr'
- key: modernize-use-emplace.TupleMakeFunctions
value: '::std::make_pair;::std::make_tuple'
- key: modernize-use-emplace.TupleTypes
value: '::std::pair;::std::tuple'
- key: modernize-use-noexcept.ReplacementString
value: ''
- key: modernize-use-noexcept.UseNoexceptFalse
value: '1'
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: modernize-use-transparent-functors.SafeMode
value: '0'
- key: performance-faster-string-find.StringLikeClasses
value: 'std::basic_string'
- key: performance-for-range-copy.WarnOnAllAutoCopies
value: '0'
- key: performance-inefficient-string-concatenation.StrictMode
value: '0'
- key: performance-inefficient-vector-operation.VectorLikeClasses
value: '::std::vector'
- key: performance-move-const-arg.CheckTriviallyCopyableMove
value: '1'
- key: performance-move-constructor-init.IncludeStyle
value: llvm
- key: performance-type-promotion-in-math-fn.IncludeStyle
value: llvm
- key: readability-braces-around-statements.ShortStatementLines
value: '0'
# BranchThreshold, NestingThreshold, and ParameterThreshold are set to UINT32_MAX
# to effectively disable these sub-checks. GNN/ML kernels legitimately have deep
# nesting (loops over nodes, edges, and features) and many parameters (model configs,
# hyperparameters), so enforcing these limits would generate noise on valid code.
- key: readability-function-size.BranchThreshold
value: '4294967295'
- key: readability-function-size.LineThreshold
value: '1000'
- key: readability-function-size.NestingThreshold
value: '4294967295'
- key: readability-function-size.ParameterThreshold
value: '4294967295'
- key: readability-function-size.StatementThreshold
value: '800'
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.ClassConstantPrefix
value: k
- key: readability-identifier-naming.ClassConstantCase
value: CamelCase
- key: readability-identifier-naming.ClassMemberCase
value: camelBack
- key: readability-identifier-naming.ConstexprVariableCase
value: CamelCase
- key: readability-identifier-naming.ConstexprVariablePrefix
value: k
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.EnumConstantCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.GlobalConstantPrefix
value: k
- key: readability-identifier-naming.GlobalConstantCase
value: CamelCase
- key: readability-identifier-naming.IgnoreFailedSplit
value: '0'
- key: readability-identifier-naming.LocalConstantCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberPrefix
value: _
- key: readability-identifier-naming.ProtectedMemberCase
value: camelBack
- key: readability-identifier-naming.ProtectedMemberPrefix
value: _
- key: readability-identifier-naming.PublicMemberCase
value: camelBack
- key: readability-identifier-naming.TemplateParameterCase
value: camelBack
- key: readability-identifier-naming.TypeTemplateParameterCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: '1'
- key: readability-simplify-boolean-expr.ChainedConditionalAssignment
value: '0'
- key: readability-simplify-boolean-expr.ChainedConditionalReturn
value: '0'
- key: readability-static-accessed-through-instance.NameSpecifierNestingThreshold
value: '3'
...
2 changes: 2 additions & 0 deletions .clangd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CompileFlags:
CompilationDatabase: gigl-core/.cache/cmake_build
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ substitutions:
options:
logging: CLOUD_LOGGING_ONLY
steps:
- name: us-central1-docker.pkg.dev/external-snap-ci-github-gigl/gigl-base-images/gigl-builder:b34c863a2168c8df5a6da1f6385e5d374f0175d2.91.1
- name: us-central1-docker.pkg.dev/external-snap-ci-github-gigl/gigl-base-images/gigl-builder:b598f3d72eee47f5513dcb39460944459a0a012f.108.1
entrypoint: /bin/bash
args:
- -c
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/on-pr-comment.yml
Comment thread
mkolodner-sc marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,25 @@ jobs:
command: |
make unit_test_py

unit-test-cpp:
if: ${{ github.event.issue.pull_request && (contains(github.event.comment.body, '/unit_test_cpp') || endsWith(github.event.comment.body, '/unit_test') || contains(github.event.comment.body, '/all_test')) }}
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Run C++ Unit Tests
uses: snapchat/gigl/.github/actions/run-command-on-pr@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pr_number: ${{ github.event.issue.number }}
should_leave_progress_comments: "true"
descriptive_workflow_name: "C++ Unit Test"
use_cloud_run: "false"
command: |
bash gigl-core/requirements/install_cpp_deps.sh
bash requirements/install_py_deps.sh --skip-glt-post-install
export PATH="$HOME/.local/bin:$PATH"
make unit_test_cpp

unit-test-scala:
if: ${{ github.event.issue.pull_request && (contains(github.event.comment.body, '/unit_test_scala') || endsWith(github.event.comment.body, '/unit_test') || contains(github.event.comment.body, '/all_test')) }}
runs-on: ubuntu-latest
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/on-pr-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,21 @@ jobs:
service_account: ${{ secrets.gcp_service_account_email }}
project: ${{ vars.GCP_PROJECT_ID }}

ci-unit-test-cpp:
Comment thread
mkolodner-sc marked this conversation as resolved.
if: github.event_name == 'merge_group'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Install C++ dependencies
run: bash gigl-core/requirements/install_cpp_deps.sh
- name: Set up Python tools
uses: ./.github/actions/setup-python-tools
- name: Install Python dependencies
run: bash requirements/install_py_deps.sh --skip-glt-post-install
- name: Run C++ Unit Tests
run: make unit_test_cpp

ci-integration-test:
if: github.event_name == 'merge_group'
runs-on: ubuntu-latest
Expand Down
Loading