Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(csharp): script build, test, package and smoke test #1345

Merged
merged 31 commits into from
Dec 12, 2023

Conversation

davidhcoe
Copy link
Contributor

Down payment toward #1121:

  • Structures the projects for NuGet packaging
  • Adds scripts for building the Go drivers then packaging them to NuGet (with a new loader)
  • Script to coordinate building the NuGet packages and validating them with smoke tests
  • Ups the package versions to 0.8 to match the current ADBC release

Copy link

github-actions bot commented Dec 6, 2023

⚠️ Please follow the Conventional Commits format in CONTRIBUTING.md for PR titles.

@github-actions github-actions bot added this to the ADBC Libraries 0.9.0 milestone Dec 6, 2023
@lidavidm lidavidm changed the title csharp: script build, test, package and smoke test ci(csharp): script build, test, package and smoke test Dec 6, 2023
.github/CODEOWNERS Show resolved Hide resolved
.github/dependabot.yml Outdated Show resolved Hide resolved
.github/dependabot.yml Outdated Show resolved Hide resolved
csharp/Directory.Build.props Outdated Show resolved Hide resolved
csharp/src/Apache.Arrow.Adbc/readme.md Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this used?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, other similar scripts have gone in ci/scripts (plus, there's already one there...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not yet used in a pipeline. It is used locally right now.

@lidavidm lidavidm changed the title ci(csharp): script build, test, package and smoke test build(csharp): script build, test, package and smoke test Dec 6, 2023
@davidhcoe davidhcoe requested a review from kou as a code owner December 7, 2023 17:22
@davidhcoe davidhcoe marked this pull request as draft December 7, 2023 22:37
@@ -10,6 +10,7 @@ ci/linux-packages/changelog
ci/linux-packages/*.install
csharp/*.sln
csharp/*.csproj
csharp/*.props
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.props files are included in .csproj files and cannot have comments at the top

@davidhcoe davidhcoe marked this pull request as ready for review December 8, 2023 04:58
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The existing bash scripts separate build/pack and do not have test. Can we be consistent with the powershell and bash setup?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved some around to align with the bash scripts but the csharp_smoketest script still has a different behavior than what any other script does.

@davidhcoe
Copy link
Contributor Author

is there anything else needed to merge this @lidavidm or @CurtHagenlocher?

@CurtHagenlocher
Copy link
Contributor

The C# changes look good to me. I feel less qualified to comment on the build changes.

@lidavidm
Copy link
Member

I'm fairly backlogged - I'll try to review in earnest this week but it may be a while

@CurtHagenlocher
Copy link
Contributor

I'm going to check in the purely C# changes and the build system changes can be submitted as a smaller PR.

@CurtHagenlocher CurtHagenlocher merged commit fd705e0 into apache:main Dec 12, 2023
5 checks passed
lidavidm pushed a commit that referenced this pull request Dec 19, 2023
Adding the build scripts that were split out from
#1345

---------

Co-authored-by: David Coe <[email protected]>
@davidhcoe davidhcoe deleted the dev/nuget-releases branch April 17, 2024 15:49
@davidhcoe davidhcoe restored the dev/nuget-releases branch April 17, 2024 15:49
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.

3 participants