From 2fb10d454c61945e035b77fa4446962d84727af1 Mon Sep 17 00:00:00 2001 From: MarkoAT Date: Tue, 22 Dec 2020 01:53:41 +0100 Subject: [PATCH] CI test --- .github/workflows/dotnet.yml | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..4dad0e6 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,42 @@ +name: .NET + +on: + push: + branches: [ 'master', 'development' ] + +defaults: + run: + working-directory: Ixian-LiteWallet + +jobs: + build: + + runs-on: windows-latest + + steps: + - name: Checkout Ixian-LiteWallet + uses: actions/checkout@v2 + with: + path: Ixian-LiteWallet + + - name: Checkout Ixian-Core + uses: actions/checkout@v2 + with: + repository: ProjectIxian/Ixian-Core + path: Ixian-Core + ref: ${{ github.event.push.ref }} + + # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild + - name: Setup MSBuild.exe + uses: microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16 + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' + + - name: Restore dependencies + run: nuget restore IxianLiteWallet\IxianLiteWallet.sln + + - name: Building Ixian-LiteWallet + run: msbuild IxianLiteWallet\IxianLiteWallet.sln + + #- name: Running Unit Tests + # run: dotnet test UnitTests\bin\Debug\unittests.dll --verbosity normal