Skip to content

Commit cdcc533

Browse files
committed
Move to github actions
1 parent d77e534 commit cdcc533

File tree

11 files changed

+93
-40
lines changed

11 files changed

+93
-40
lines changed

.github/workflows/mac.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: MacNetCore
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
12+
jobs:
13+
build:
14+
runs-on: macOS-latest
15+
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Setup .NET Core
19+
uses: actions/setup-dotnet@v1
20+
with:
21+
dotnet-version: 3.1.201
22+
- name: Build with dotnet
23+
run: dotnet build --configuration Release
24+
- name: Run unit tests
25+
run: dotnet test --verbosity normal

.github/workflows/ubuntu.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: UbuntuNetCore
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Setup .NET Core
19+
uses: actions/setup-dotnet@v1
20+
with:
21+
dotnet-version: 3.1.201
22+
- name: Build with dotnet
23+
run: dotnet build --configuration Release
24+
- name: Run unit tests
25+
run: dotnet test --verbosity normal

.github/workflows/windows.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: WindowsNetCore
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
12+
jobs:
13+
build:
14+
runs-on: windows-latest
15+
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Setup .NET Core
19+
uses: actions/setup-dotnet@v1
20+
with:
21+
dotnet-version: 3.1.201
22+
- name: Build with dotnet
23+
run: dotnet build --configuration Release
24+
- name: Run unit tests
25+
run: dotnet test --verbosity normal

.travis.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

TaglibSharp.sln

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SetPictures", "examples\Set
1717
EndProject
1818
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DBAF85DD-F405-4903-AF22-91FE886EF7DA}"
1919
ProjectSection(SolutionItems) = preProject
20-
.travis.yml = .travis.yml
21-
appveyor.yml = appveyor.yml
22-
azure-pipelines.yml = azure-pipelines.yml
2320
Directory.Build.props = Directory.Build.props
2421
Directory.Build.targets = Directory.Build.targets
2522
EndProjectSection

appveyor.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/ReadFromUri/ReadFromUri.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@
2222
<Compile Include="ReadFromUri.cs" />
2323
</ItemGroup>
2424

25+
<ItemGroup>
26+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0" />
27+
</ItemGroup>
28+
2529
</Project>

examples/SetPictures/SetPictures.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@
2222
<ProjectReference Include="..\..\src\TaglibSharp\TaglibSharp.csproj" />
2323
</ItemGroup>
2424

25+
<ItemGroup>
26+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0" />
27+
</ItemGroup>
28+
2529
</Project>

src/Debug/Debug.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@
1313
<ProjectReference Include="..\TaglibSharp\TaglibSharp.csproj" />
1414
</ItemGroup>
1515

16+
<ItemGroup>
17+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0" />
18+
</ItemGroup>
19+
1620
</Project>

src/TaglibSharp.Tests/TaglibSharp.Tests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFrameworks>net461;netcoreapp3.1</TargetFrameworks>
55
<IsPackable>false</IsPackable>
6-
<PlatformTarget>x86</PlatformTarget>
6+
<AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths>
77
</PropertyGroup>
88

99
<ItemGroup>
@@ -24,6 +24,7 @@
2424
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2525
</PackageReference>
2626
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.0-beta0007" />
27+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0" />
2728
</ItemGroup>
2829

2930
</Project>

0 commit comments

Comments
 (0)