@@ -70,7 +70,6 @@ blocks:
70
70
- wget https://dot.net/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1
71
71
- powershell -ExecutionPolicy ByPass -File dotnet-install.ps1 -Version 6.0.403 -InstallDir C:\dotnet
72
72
- $Env:Path += ";C:\dotnet"
73
- - dotnet tool update -g docfx
74
73
- dotnet restore
75
74
- dotnet build Confluent.Kafka.sln -c ${Env:CONFIGURATION}
76
75
- dotnet pack src/Confluent.Kafka/Confluent.Kafka.csproj -c ${Env:CONFIGURATION} --version-suffix ci-${Env:SEMAPHORE_JOB_ID} --output artifacts
@@ -84,9 +83,6 @@ blocks:
84
83
- dotnet pack src/Confluent.SchemaRegistry.Serdes.Avro/Confluent.SchemaRegistry.Serdes.Avro.csproj -c ${Env:CONFIGURATION} --version-suffix ci-${Env:SEMAPHORE_JOB_ID} --output artifacts
85
84
- dotnet pack src/Confluent.SchemaRegistry.Serdes.Protobuf/Confluent.SchemaRegistry.Serdes.Protobuf.csproj -c ${Env:CONFIGURATION} --version-suffix ci-${Env:SEMAPHORE_JOB_ID} --output artifacts
86
85
- dotnet pack src/Confluent.SchemaRegistry.Serdes.Json/Confluent.SchemaRegistry.Serdes.Json.csproj -c ${Env:CONFIGURATION} --version-suffix ci-${Env:SEMAPHORE_JOB_ID} --output artifacts
87
- - docfx doc/docfx.json
88
- - tar.exe -cvzf docs-${Env:SEMAPHORE_JOB_ID}.zip doc/_site/*
89
- - move docs-${Env:SEMAPHORE_JOB_ID}.zip artifacts
90
86
- artifact push workflow artifacts
91
87
- name : ' Windows Artifacts on tagged commits'
92
88
run :
@@ -103,7 +99,6 @@ blocks:
103
99
- wget https://dot.net/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1
104
100
- powershell -ExecutionPolicy ByPass -File dotnet-install.ps1 -Version 6.0.403 -InstallDir C:\dotnet
105
101
- $Env:Path += ";C:\dotnet"
106
- - dotnet tool update -g docfx
107
102
- dotnet restore
108
103
- dotnet build Confluent.Kafka.sln -c ${Env:CONFIGURATION}
109
104
- dotnet pack src/Confluent.Kafka/Confluent.Kafka.csproj -c ${Env:CONFIGURATION} --output artifacts
@@ -117,9 +112,6 @@ blocks:
117
112
- dotnet pack src/Confluent.SchemaRegistry.Serdes.Avro/Confluent.SchemaRegistry.Serdes.Avro.csproj -c ${Env:CONFIGURATION} --output artifacts
118
113
- dotnet pack src/Confluent.SchemaRegistry.Serdes.Protobuf/Confluent.SchemaRegistry.Serdes.Protobuf.csproj -c ${Env:CONFIGURATION} --output artifacts
119
114
- dotnet pack src/Confluent.SchemaRegistry.Serdes.Json/Confluent.SchemaRegistry.Serdes.Json.csproj -c ${Env:CONFIGURATION} --output artifacts
120
- - docfx doc/docfx.json
121
- - tar.exe -cvzf docs-${Env:SEMAPHORE_JOB_ID}.zip doc/_site/*
122
- - move docs-${Env:SEMAPHORE_JOB_ID}.zip artifacts
123
115
- artifact push workflow artifacts
124
116
- name : ' Integration tests'
125
117
dependencies : [ ]
@@ -131,6 +123,10 @@ blocks:
131
123
commands :
132
124
- ' [[ -z $DOCKERHUB_APIKEY ]] || docker login --username $DOCKERHUB_USER --password $DOCKERHUB_APIKEY'
133
125
jobs :
126
+ - name : ' Build documentation'
127
+ commands :
128
+ - dotnet tool update -g docfx
129
+ - docfx doc/docfx.json
134
130
- name : ' Build and test with "classic" protocol'
135
131
commands :
136
132
- cd test/docker && docker-compose up -d && sleep 30 && cd ../..
0 commit comments