Skip to content

Commit c5f983c

Browse files
csharp8&9 build test
1 parent 74a7679 commit c5f983c

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/build-migration-dev.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,40 @@ jobs:
9393
GPG_PASSPHRASE: ${{secrets.GPG_PASSPHRASE}}
9494
CI_DEPLOY_USERNAME: ${{secrets.CI_DEPLOY_USERNAME}}
9595
CI_DEPLOY_PASSWORD: ${{secrets.CI_DEPLOY_PASSWORD}}
96+
97+
build:
98+
name: CSharp8 build
99+
shell: bash
100+
runs-on: ubuntu-latest
101+
working-directory: ./rosetta-source/target/classes/cdm/csharp8/NetStandard.2.1
102+
with: dotnet-version '2.1'
103+
strategy:
104+
fail-fast: false
105+
image: mcr.microsoft.com/dotnet/core/sdk:3.1
106+
steps:
107+
- name: build
108+
run: dotnet build Cdm/Cdm.csproj
109+
- name: test
110+
run: dotnet test Test/Test.csproj
111+
- name: publish
112+
run: dotnet publish Cdm/Cdm.csproj -c release -o ./app
113+
114+
build:
115+
name: CSharp9 build
116+
shell: bash
117+
runs-on: ubuntu-latest
118+
working-directory: ./rosetta-source/target/classes/cdm/csharp9/Net.5.0
119+
with: dotnet-version '5.0'
120+
strategy:
121+
fail-fast: false
122+
image: mcr.microsoft.com/dotnet/sdk:5.0
123+
steps:
124+
- name: build
125+
run: dotnet build Cdm/Cdm.csproj
126+
- name: test
127+
run: dotnet test Test/Test.csproj
128+
- name: publish
129+
run: dotnet publish Cdm/Cdm.csproj -c release -o ./app
96130

97131
distribute:
98132
needs: build

0 commit comments

Comments
 (0)