FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Linux build to CI by mattleibow · Pull Request #740 · mono/api-doc-tools · GitHub

Add Linux build to CI - #740

Draft
mattleibow wants to merge 3 commits into
mono:mainfrom
mattleibow:dev/ci-linux
Draft

Add Linux build to CI#740
mattleibow wants to merge 3 commits into
mono:mainfrom
mattleibow:dev/ci-linux

Conversation

mattleibow commented Oct 31, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Important

The base PR #739 must be merged first as it contains the base CI files.

This pull request updates the build process to add support for Ubuntu in addition to Windows and macOS. It introduces steps to install Mono and NuGet on Ubuntu, and updates the Makefile to use the appropriate NuGet executable depending on the operating system, improving cross-platform compatibility and reliability of builds.

Note

This does not have tests as the tests are failing to build due to mono msbuild issues. However, this will become less of an issue once we switch to dotnet.

Build workflow improvements:

  • Added ubuntu-latest to the build matrix in .github/workflows/build.yml, enabling CI builds on Ubuntu.
  • Introduced a new step to install Mono and NuGet on Ubuntu in the GitHub Actions workflow, ensuring dependencies are available for Linux builds.
  • Modified the build and pack step to use the correct NuGet command on Ubuntu by setting the NUGET environment variable accordingly.

Makefile enhancements for platform compatibility:

  • Updated the NUGET variable in Makefile to select the right NuGet executable based on the operating system, supporting both Windows and Linux environments.
  • Replaced direct calls to nuget with $(NUGET) in prepare and nuget targets, ensuring the correct executable is used for package management across platforms. [1] [2]

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL