Skip to content

Commit 56fd33e

Browse files
committed
ci: add build netstandard2.0
1 parent c01126d commit 56fd33e

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/post-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ jobs:
4444
- name: 🛠️ Build
4545
run: dotnet build -c Release --no-restore /p:UseSourceLink=true
4646

47-
- name: 🛠️ Build netstandard2.1
48-
run: dotnet build -c Release --no-restore /p:UseSourceLink=true -f netstandard2.1 src/Atc/Atc.csproj
49-
5047
- name: 🛠️ Build netstandard2.0 (Atc.CodeAnalysis.CSharp)
5148
run: dotnet build -c Release --no-restore /p:UseSourceLink=true -f netstandard2.0 src/Atc.CodeAnalysis.CSharp/Atc.CodeAnalysis.CSharp.csproj
5249

50+
- name: 🛠️ Build netstandard2.1
51+
run: dotnet build -c Release --no-restore /p:UseSourceLink=true -f netstandard2.1 src/Atc/Atc.csproj
52+
5353
- name: 🧪 Run unit tests
5454
run: dotnet test -c Release --no-build -- --filter-query "/[category!=integration]"
5555

.github/workflows/pre-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ jobs:
3333
- name: 🛠️ Building library in release mode
3434
run: dotnet build -c Release --no-restore
3535

36+
- name: 🛠️ Building library in release mode for netstandard2.0
37+
run: dotnet build -c Release --no-restore -f netstandard2.0 src/Atc.CodeAnalysis.CSharp/Atc.CodeAnalysis.CSharp.csproj
38+
3639
- name: 🛠️ Building library in release mode for netstandard2.1
3740
run: dotnet build -c Release --no-restore -f netstandard2.1 src/Atc/Atc.csproj
3841

39-
- name: 🛠️ Building library in release mode for netstandard2.0 (Atc.CodeAnalysis.CSharp)
40-
run: dotnet build -c Release --no-restore -f netstandard2.0 src/Atc.CodeAnalysis.CSharp/Atc.CodeAnalysis.CSharp.csproj
41-
4242
dotnet-test:
4343
runs-on: ubuntu-latest
4444
needs:

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
- name: 🛠️ Building library in release mode
4242
run: dotnet build -c Release --no-restore /p:UseSourceLink=true
4343

44+
- name: 🛠️ Building library in release mode for netstandard2.0
45+
run: dotnet build -c Release --no-restore -f netstandard2.0 src/Atc.CodeAnalysis.CSharp/Atc.CodeAnalysis.CSharp.csproj
46+
4447
- name: 🛠️ Building library in release mode for netstandard2.1
4548
run: dotnet build -c Release --no-restore -f netstandard2.1 src/Atc/Atc.csproj
4649

0 commit comments

Comments
 (0)