Skip to content

Commit

Permalink
Merge pull request #163 from BenjaminMichaelis/v9.0
Browse files Browse the repository at this point in the history
Add linux v9.0 github build
  • Loading branch information
BenjaminMichaelis authored Jun 1, 2021
2 parents f956b83 + 269ad4b commit 6a35cc8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/Branch v9.0 - EssentialCSharp-Linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Linux - Branch v9.0 - EssentialCSharp

on:
push:
branches: [ v9.0 ]
pull_request:
branches: [ v9.0 ]
schedule:
- cron: 0 6 * * 1

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: v9.0
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Get Directory
run: pwd
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
7 changes: 4 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>
<ProductName Condition="'$(ProductName)'==''">Chapter$(ChapterNumber)</ProductName>
<TreatWarningsAsErrors Condition="'$(TreatWarningsAsErrors)'==''">false</TreatWarningsAsErrors>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Authors>Mark Michaelis</Authors>
<Company>Addison Wesley</Company>
<Copyright>Copyright © Addison Wesley 2020</Copyright>
<Product>Essential C# 8.0</Product>
<Title>Essential C# 8.0</Title>
<Product>Essential C# 9.0</Product>
<Title>Essential C# 9.0</Title>
<Version>8.0</Version>
<OutputPath Condition="'$(WSL_DISTRO_NAME)'!=''">.\bin\Linux\$(Configuration)\</OutputPath>
<NullableWarnings>CS8600,CS8601,CS8602,CS8603,CS8604,CS8610,CS8614,CS8618,CS8622,CS8625,CS8653,CS8714</NullableWarnings>
Expand Down

0 comments on commit 6a35cc8

Please sign in to comment.