-
Notifications
You must be signed in to change notification settings - Fork 55
Building the Deployment Executable Yourself
Blair L Murri edited this page Jul 12, 2023
·
3 revisions
Preqrequisites:
.NET 7 SDK for Linux. Get instructions for your Linux distro and version to install the SDK.
For example, instructions for Ubuntu 18.04 are available here and below for convenience:
wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update && \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-7.0
Preqrequisites:
.NET 7 SDK for Windows. Get the executable and follow the wizard to install the SDK.
Recommended:
VS 2022
- Clone the Cromwell on Azure repository
- Build the solution using
dotnet build
on bash or Powershell. For Windows, you can choose to build and test using VS 2022 - Run tests using
dotnet test
on bash or Powershell -
Publish the
deploy-cromwell-on-azure
project as a self-contained deployment with your target runtime identifier (RID) to produce the executable
Example
Linux: dotnet publish -r linux-x64
Windows: dotnet publish -r win-x64
Learn more about dotnet
commands here
To search, expand the Pages section above.