Add C/C++ CI workflow for build and testing - #1
Open
jarlungoodoo73 wants to merge 1 commit into
Open
Conversation
Reviewer's GuideThis PR adds a GitHub Actions workflow to run a basic C/C++ configure, build, and test pipeline on pushes and pull requests to the linux-msft-wsl-6.6.y branch. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Consider running this workflow on a broader set of branches or via a reusable workflow input instead of hard-coding
linux-msft-wsl-6.6.y, so it’s easier to reuse for future branches. - Add compiler and/or OS matrices (e.g., multiple GCC/Clang versions or different Ubuntu images) to the workflow so the C/C++ build is exercised in a more representative set of environments.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider running this workflow on a broader set of branches or via a reusable workflow input instead of hard-coding `linux-msft-wsl-6.6.y`, so it’s easier to reuse for future branches.
- Add compiler and/or OS matrices (e.g., multiple GCC/Clang versions or different Ubuntu images) to the workflow so the C/C++ build is exercised in a more representative set of environments.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
There was a problem hiding this comment.
Pull request overview
This PR adds a GitHub Actions workflow intended to run CI for this repository on the linux-msft-wsl-6.6.y branch.
Changes:
- Add a new workflow that triggers on push and pull requests targeting
linux-msft-wsl-6.6.y. - Run a build/test sequence via shell steps in the GitHub Actions runner.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+14
to
+23
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: configure | ||
| run: ./configure | ||
| - name: make | ||
| run: make | ||
| - name: make check | ||
| run: make check | ||
| - name: make distcheck | ||
| run: make distcheck |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by Sourcery
CI: