Last active
February 28, 2022 12:29
-
-
Save bolorundurowb/f96abbadc0128120c9af907614a50324 to your computer and use it in GitHub Desktop.
A .NET/Dot Net Core 2.0 Circle CI configuration file (Uses CircleCI 1.0)
This file contains 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
dependencies: | |
pre: | |
- curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
- sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg | |
- sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list' | |
- sudo apt-get update | |
- sudo apt-get install dotnet-sdk-2.0.2 | |
override: | |
- dotnet restore | |
test: | |
pre: | |
- dotnet --version | |
- dotnet build ./<solution-file-name>.sln | |
override: | |
- dotnet test <test-project-name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment