From fc249b9df39cee378675a2d52b2247e2efd0099c Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Sat, 6 Feb 2021 11:00:30 -0800 Subject: [PATCH] Add steps to build projects and solutions. --- .github/workflows/unit_tests.yml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index c51069827..827b3be23 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -17,5 +17,28 @@ jobs: - name: Checkout $GITHUB_SHA from $GITHUB_REF uses: actions/checkout@v2 - - name: Restore NuGet packages - run: nuget restore Duplicati.sln + - name: Build AutoUpdateBuilder + run: | + nuget restore BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.sln + msbuild -p:Configuration=Release BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.sln + + - name: Build DependencyFinder + run: | + nuget restore BuildTools/DependencyFinder/DependencyFinder.sln + msbuild -p:Configuration=Release BuildTools/DependencyFinder/DependencyFinder.sln + + - name: Build GnupgSigningTool + run: | + nuget restore BuildTools/GnupgSigningTool/GnupgSigningTool.sln + msbuild -p:Configuration=Release BuildTools/GnupgSigningTool/GnupgSigningTool.sln + + - name: Build UpdateVersionStamp + run: | + nuget restore BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln + msbuild -p:Configuration=Release BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln + + - name: Build Duplicati + run: | + nuget restore Duplicati.sln + msbuild -p:Configuration=Release -p:DefineConstants=ENABLE_GTK Duplicati.sln +