-
Notifications
You must be signed in to change notification settings - Fork 56
Building the Deployment Executable
The deployer can easily be built from any platform (and target any other platform) using the .NET SDK and the dotnet
command-line interface.
- Install the .NET 8 SDK for Linux. Follow the instructions specific to your Linux distribution and version.
- Download and install the .NET 8 SDK for Windows. Follow the installation wizard.
- Install Visual Studio 2022 (VS 2022) for an enhanced development experience.
- Install the .NET 8 SDK for macOS. Follow the instructions for your macOS version.
-
Clone the Repository
Clone the Cromwell on Azure repository. -
Remove
nuget.config
Removenuget.config
fromsrc/ga4gh-tes
.
Note: Do not remove this file if you are an official contributor to https://github.com/microsoft/ga4gh-tes. Do not commit this file deletion if you make a PR. -
Build the Solution
Run thedotnet build
command in your terminal (Bash, PowerShell, or Zsh).- On Windows, you can also build the solution using Visual Studio 2022.
-
Run Tests
Run thedotnet test
command in your terminal to ensure everything is working correctly. -
Publish the Executable
Publish thedeploy-cromwell-on-azure
project as a self-contained deployment using the appropriate runtime identifier (RID) for your platform.Example commands:
- Linux:
dotnet publish -r linux-x64
- Windows:
dotnet publish -r win-x64
- macOS:
dotnet publish -r osx-x64
Note:
If you encounter failures, try deleting thenuget.config
file at the root of the directory before publishing. - Linux:
To search, expand the Pages section above.