-
Notifications
You must be signed in to change notification settings - Fork 57
Building the Deployment Executable
Matt McLoughlin edited this page Dec 4, 2024
·
5 revisions
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. -
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.
- On macOS, you can optionally use Visual Studio for Mac.
-
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.