Skip to content

Commit

Permalink
Added build GitHub Actions workflow and removed two dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BeardedFish committed Aug 4, 2023
1 parent 3ca322b commit 1481c9f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
charset = utf-8
end_of_line = crlf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{yml,yaml}]
indent_size = 4
17 changes: 17 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build

on: [ push, pull_request ]

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Setup Microsoft Build Engine
uses: microsoft/setup-msbuild@v1.1

- name: Build Everybody Edits CTF .NET Framework Binary
run: |
msbuild ./Everybody-Edits-CTF/Everybody-Edits-CTF.sln /t:"Restore;Build" /p:RestorePackagesConfig=True /p:DeleteExistingFiles=True /p:platform="Any CPU" /p:configuration="Release"
9 changes: 1 addition & 8 deletions Everybody-Edits-CTF/Everybody-Edits-CTF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
<Reference Include="BouncyCastle.Crypto, Version=1.8.3.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
<HintPath>packages\BouncyCastle.1.8.3.1\lib\BouncyCastle.Crypto.dll</HintPath>
</Reference>
<Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
<HintPath>packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath>
</Reference>
<Reference Include="K4os.Compression.LZ4, Version=1.1.11.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
<HintPath>packages\K4os.Compression.LZ4.1.1.11\lib\net46\K4os.Compression.LZ4.dll</HintPath>
</Reference>
Expand All @@ -60,9 +57,6 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>Assemblies\PlayerIOClient.dll</HintPath>
</Reference>
<Reference Include="Renci.SshNet, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
<HintPath>packages\SSH.NET.2016.1.0\lib\net40\Renci.SshNet.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
Expand Down Expand Up @@ -175,6 +169,5 @@
<Content Include="Assemblies\PlayerIOClient.dll" />
<Content Include="Resources\Icon.ico" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
</Project>

0 comments on commit 1481c9f

Please sign in to comment.