Skip to content

Commit b7a54a8

Browse files
committed
Do not build ppc64le dotnet6
Signed-off-by: Ilya Leoshkevich <[email protected]>
1 parent 1626288 commit b7a54a8

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
# TODO: aspnetcore build fails on x64 with:
1717
# EXEC : error : Failed to load assembly 'System.Private.CoreLib'
1818
arch: [ppc64le, s390x]
19+
isV6:
20+
- ${{ startsWith(github.ref, 'refs/tags/v6.') }}
21+
exclude:
22+
- arch: ppc64le
23+
isV6: true
1924
container:
2025
image: ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
2126
credentials:
@@ -52,6 +57,11 @@ jobs:
5257
# TODO: aspnetcore build fails on x64 with:
5358
# EXEC : error : Failed to load assembly 'System.Private.CoreLib'
5459
arch: [ppc64le, s390x]
60+
isV6:
61+
- ${{ startsWith(github.ref, 'refs/tags/v6.') }}
62+
exclude:
63+
- arch: ppc64le
64+
isV6: true
5565
container:
5666
image: ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
5767
credentials:
@@ -92,6 +102,11 @@ jobs:
92102
# TODO: aspnetcore build fails on x64 with:
93103
# EXEC : error : Failed to load assembly 'System.Private.CoreLib'
94104
arch: [ppc64le, s390x]
105+
isV6:
106+
- ${{ startsWith(github.ref, 'refs/tags/v6.') }}
107+
exclude:
108+
- arch: ppc64le
109+
isV6: true
95110
container:
96111
image: ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
97112
credentials:
@@ -132,6 +147,11 @@ jobs:
132147
# TODO: aspnetcore build fails on x64 with:
133148
# EXEC : error : Failed to load assembly 'System.Private.CoreLib'
134149
arch: [ppc64le, s390x]
150+
isV6:
151+
- ${{ startsWith(github.ref, 'refs/tags/v6.') }}
152+
exclude:
153+
- arch: ppc64le
154+
isV6: true
135155
container:
136156
image: ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
137157
credentials:
@@ -172,6 +192,11 @@ jobs:
172192
# TODO: aspnetcore build fails on x64 with:
173193
# EXEC : error : Failed to load assembly 'System.Private.CoreLib'
174194
arch: [ppc64le, s390x]
195+
isV6:
196+
- ${{ startsWith(github.ref, 'refs/tags/v6.') }}
197+
exclude:
198+
- arch: ppc64le
199+
isV6: true
175200
container:
176201
image: ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
177202
credentials:
@@ -212,6 +237,11 @@ jobs:
212237
# TODO: aspnetcore build fails on x64 with:
213238
# EXEC : error : Failed to load assembly 'System.Private.CoreLib'
214239
arch: [ppc64le, s390x]
240+
isV6:
241+
- ${{ startsWith(github.ref, 'refs/tags/v6.') }}
242+
exclude:
243+
- arch: ppc64le
244+
isV6: true
215245
container:
216246
image: ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
217247
credentials:
@@ -272,6 +302,7 @@ jobs:
272302
uses: actions/download-artifact@v3 # Newer versions are not compatible with Ubuntu 18.04
273303
with:
274304
name: installer-ppc64le
305+
if: ${{ !startsWith(github.ref, 'refs/tags/v6.') }}
275306
- name: Download the s390x installer artifacts
276307
uses: actions/download-artifact@v3 # Newer versions are not compatible with Ubuntu 18.04
277308
with:

.github/workflows/dotnet.yml.j2

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ on:
2222
# TODO: aspnetcore build fails on x64 with:
2323
# EXEC : error : Failed to load assembly 'System.Private.CoreLib'
2424
arch: [{{ ', '.join(arches) }}]
25+
isV6:
26+
- {% raw %}${{ startsWith(github.ref, 'refs/tags/v6.') }}{% endraw %}
27+
exclude:
28+
- arch: ppc64le
29+
isV6: true
2530
{%- endset %}
2631

2732
{%- set container -%}
@@ -96,6 +101,9 @@ jobs:
96101
uses: actions/download-artifact@v3 # Newer versions are not compatible with Ubuntu 18.04
97102
with:
98103
name: installer-{{ arch }}
104+
{%- if arch == 'ppc64le' %}
105+
if: {% raw %}${{ !startsWith(github.ref, 'refs/tags/v6.') }}{% endraw %}
106+
{%- endif %}
99107
{%- endfor %}
100108
- name: Create a release
101109
run: gh release create --notes "" "{% raw %}${{ github.ref_name }}{% endraw %}" output/*

0 commit comments

Comments
 (0)