Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: CI

on:

push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:

ununtu:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Restore
run: dotnet restore Figgle.sln

- name: Build solution (Release)
run: dotnet build Figgle.sln --configuration Release
- name: Build solution (Debug)
run: dotnet build Figgle.sln --configuration Debug

- name: Test Figgle.Tests (Release)
run: dotnet test --verbosity normal --configuration Release --no-build --framework net8.0 Figgle.Tests/Figgle.Tests.csproj
- name: Test Figgle.Tests (Debug)
run: dotnet test --verbosity normal --configuration Debug --no-build --framework net8.0 Figgle.Tests/Figgle.Tests.csproj

- name: Test Figgle.Generator.Tests (Release)
run: dotnet test --verbosity normal --configuration Release --no-build --framework net8.0 Figgle.Generator.Tests/Figgle.Generator.Tests.csproj
- name: Test Figgle.Generator.Tests (Debug)
run: dotnet test --verbosity normal --configuration Debug --no-build --framework net8.0 Figgle.Generator.Tests/Figgle.Generator.Tests.csproj

# - name: Publish NativeAOT
# run: dotnet publish --verbosity normal --configuration Release --framework net8.0 Figgle/Figgle.csproj

windows:
runs-on: windows-latest
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Restore
run: dotnet restore Figgle.sln

- name: Build solution (Release)
run: dotnet build Figgle.sln --configuration Release
- name: Build solution (Debug)
run: dotnet build Figgle.sln --configuration Debug

- name: Test Figgle.Tests (Release)
run: dotnet test --verbosity normal --configuration Release --no-build --framework net8.0 Figgle.Tests/Figgle.Tests.csproj
- name: Test Figgle.Tests (Debug)
run: dotnet test --verbosity normal --configuration Debug --no-build --framework net8.0 Figgle.Tests/Figgle.Tests.csproj

- name: Test Figgle.Generator.Tests (Release)
run: dotnet test --verbosity normal --configuration Release --no-build --framework net8.0 Figgle.Generator.Tests/Figgle.Generator.Tests.csproj
- name: Test Figgle.Generator.Tests (Debug)
run: dotnet test --verbosity normal --configuration Debug --no-build --framework net8.0 Figgle.Generator.Tests/Figgle.Generator.Tests.csproj

# - name: Publish NativeAOT
# run: dotnet publish --verbosity normal --configuration Release --framework net8.0 Figgle/Figgle.csproj
7 changes: 6 additions & 1 deletion Figgle.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
appveyor.yml = appveyor.yml
Directory.Build.props = Directory.Build.props
spec\figfont.html = spec\figfont.html
spec\figfont.txt = spec\figfont.txt
Expand Down Expand Up @@ -296,6 +295,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Figgle.Generator.Tests", "F
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Figgle.Generator.AcceptanceTests", "Figgle.Generator.AcceptanceTests\Figgle.Generator.AcceptanceTests.csproj", "{E9177B5C-626B-44E6-87B4-2D712FB52DC9}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
ProjectSection(SolutionItems) = preProject
.github\workflows\CI.yml = .github\workflows\CI.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -384,6 +388,7 @@ Global
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{39B8EEFC-2BF9-4E33-B299-0BF4016AC5D7} = {4A36A179-AB9F-4D63-8409-A7400F65C139}
{02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {4A36A179-AB9F-4D63-8409-A7400F65C139}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {69F27669-F6DA-410D-8F8B-9E6877CC73F4}
Expand Down
21 changes: 0 additions & 21 deletions appveyor.yml

This file was deleted.

Loading