Skip to content

Commit

Permalink
Merge pull request #167 from lmcintyre/nuke_schema
Browse files Browse the repository at this point in the history
.NET 7 Update
  • Loading branch information
Supamiu committed Nov 6, 2023
2 parents c5978a8 + 8eff66f commit 4481c0e
Show file tree
Hide file tree
Showing 208 changed files with 257 additions and 20,414 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,25 @@ jobs:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
submodules: recursive

dotnet-version: '7.x.x'
- name: Define Version
id: define-version
run: |
$env:COMMIT = $env:GITHUB_SHA.Substring(0, 7)
echo "::set-output name=commit::$env:COMMIT"
- uses: nuget/setup-nuget@v1
with:
nuget-version: latest

- name: Restore Nuget Packages
run: nuget restore SaintCoinach.sln

- name: Build DotNet4
run: |
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\"
.\MSBuild.exe $Env:GITHUB_WORKSPACE\SaintCoinach.sln /t:Build /p:Configuration=Release
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release
- name: Create Release ZIPs
if: ${{ github.ref == 'refs/heads/master' }}
run: |
mkdir release-out
Compress-Archive -Path .\Godbert\bin\Release\* -DestinationPath .\release-out\Godbert.zip -Force
Compress-Archive -Path .\SaintCoinach.Cmd\bin\Release\* -DestinationPath .\release-out\SaintCoinach.Cmd.zip -Force
Compress-Archive -Path .\Godbert\bin\Release\net7.0-windows\* -DestinationPath .\release-out\Godbert.zip -Force
Compress-Archive -Path .\SaintCoinach.Cmd\bin\Release\net7.0-windows\* -DestinationPath .\release-out\SaintCoinach.Cmd.zip -Force
- name: Create Release
uses: softprops/action-gh-release@v1
Expand Down
59 changes: 5 additions & 54 deletions DotSquish/DotSquish.csproj
Original file line number Diff line number Diff line change
@@ -1,66 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{F9681545-4BEA-4FD3-9AB9-A67BD37AB36D}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DotSquish</RootNamespace>
<AssemblyName>DotSquish</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<TargetFramework>net7.0</TargetFramework>
<OutputPath>bin\$(Configuration)\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Alpha.cs" />
<Compile Include="ClusterFit.cs" />
<Compile Include="ColourBlock.cs" />
<Compile Include="ColourFit.cs" />
<Compile Include="ColourSet.cs" />
<Compile Include="Flags.cs" />
<Compile Include="Maths.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Squish.cs" />
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
34 changes: 0 additions & 34 deletions DotSquish/Properties/AssemblyInfo.cs

This file was deleted.

Loading

0 comments on commit 4481c0e

Please sign in to comment.