From d606921e4ed323209d3a6b1cc977cc74e370875c Mon Sep 17 00:00:00 2001 From: Jason Martin Date: Mon, 1 Nov 2021 14:56:03 -0700 Subject: [PATCH] Add .circleci/config.yml It can be difficult to trust that the artifact stored on a Git release is the artifact built by that commit. EVE being as hard-core as it is, the risk of a trojan is above nil. By building the application in a visible CI tool we can be more confident the result is based on the code. Further, this allows someone to fork the repo and create a build of their own (using CircleCI) without locally installing development tools. --- .circleci/config.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..0059b07c2 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,25 @@ +version: 2.1 + +orbs: + windows: circleci/windows@2.2.0 + +jobs: + build: + description: Build application with Release configuration + executor: + name: windows/default + steps: + - checkout + - run: + name: "NuGet" + command: nuget.exe restore EVEMon.sln + - run: + name: "Build Application according to some given configuration" + command: msbuild -t:build -restore -p:BclBuildImported=Ignore -p:Configuration=Release EVEMon.sln + - store_artifacts: + path: src\EVEMon\bin\Installbuilder\Installer\ + destination: Installer +workflows: + test_and_build: + jobs: + - build