Skip to content

Commit 49a1118

Browse files
Re-enable all builds
1 parent 3a286c5 commit 49a1118

File tree

3 files changed

+36
-65
lines changed

3 files changed

+36
-65
lines changed

.github/workflows/build-and-test.yml

Lines changed: 34 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -19,45 +19,45 @@ jobs:
1919
isARM:
2020
- ${{ contains(github.event.pull_request.labels.*.name, 'arch:arm32') || contains(github.event.pull_request.labels.*.name, 'arch:arm64') }}
2121
options:
22-
# - os: ubuntu-latest
23-
# framework: net7.0
24-
# sdk: 7.0.x
25-
# sdk-preview: true
26-
# runtime: -x64
27-
# codecov: false
28-
# - os: macos-13 # macos-latest runs on arm64 runners where libgdiplus is unavailable
29-
# framework: net7.0
30-
# sdk: 7.0.x
31-
# sdk-preview: true
32-
# runtime: -x64
33-
# codecov: false
34-
# - os: windows-latest
35-
# framework: net7.0
36-
# sdk: 7.0.x
37-
# sdk-preview: true
38-
# runtime: -x64
39-
# codecov: false
40-
# - os: buildjet-4vcpu-ubuntu-2204-arm
41-
# framework: net7.0
42-
# sdk: 7.0.x
43-
# sdk-preview: true
44-
# runtime: -x64
45-
# codecov: false
4622
- os: ubuntu-latest
23+
framework: net7.0
24+
sdk: 7.0.x
25+
sdk-preview: true
26+
runtime: -x64
27+
codecov: false
28+
- os: macos-13 # macos-latest runs on arm64 runners where libgdiplus is unavailable
29+
framework: net7.0
30+
sdk: 7.0.x
31+
sdk-preview: true
32+
runtime: -x64
33+
codecov: false
34+
- os: windows-latest
35+
framework: net7.0
36+
sdk: 7.0.x
37+
sdk-preview: true
38+
runtime: -x64
39+
codecov: false
40+
- os: buildjet-4vcpu-ubuntu-2204-arm
41+
framework: net7.0
42+
sdk: 7.0.x
43+
sdk-preview: true
44+
runtime: -x64
45+
codecov: false
46+
- os: ubuntu-latest
47+
framework: net6.0
48+
sdk: 6.0.x
49+
runtime: -x64
50+
codecov: false
51+
- os: macos-13 # macos-latest runs on arm64 runners where libgdiplus is unavailable
52+
framework: net6.0
53+
sdk: 6.0.x
54+
runtime: -x64
55+
codecov: false
56+
- os: windows-latest
4757
framework: net6.0
4858
sdk: 6.0.x
4959
runtime: -x64
5060
codecov: false
51-
# - os: macos-13 # macos-latest runs on arm64 runners where libgdiplus is unavailable
52-
# framework: net6.0
53-
# sdk: 6.0.x
54-
# runtime: -x64
55-
# codecov: false
56-
# - os: windows-latest
57-
# framework: net6.0
58-
# sdk: 6.0.x
59-
# runtime: -x64
60-
# codecov: false
6161
exclude:
6262
- isARM: false
6363
options:
@@ -108,28 +108,13 @@ jobs:
108108
restore-keys: ${{ runner.os }}-nuget-
109109

110110
- name: DotNet Setup
111-
if: ${{ matrix.options.sdk-preview != true }}
112111
uses: actions/setup-dotnet@v4
113112
with:
114113
dotnet-version: |
115114
8.0.x
116115
7.0.x
117116
6.0.x
118117
119-
- name: DotNet Setup Preview
120-
if: ${{ matrix.options.sdk-preview == true }}
121-
uses: actions/setup-dotnet@v4
122-
with:
123-
dotnet-version: |
124-
7.0.x
125-
126-
# - name: Ensure DotNet Path
127-
# if: ${{ matrix.options.os != 'windows-latest' }}
128-
# run: echo "/usr/share/dotnet" >> $GITHUB_PATH
129-
130-
# - name: Confirm DotNet Version
131-
# run: dotnet --version
132-
133118
- name: DotNet Build
134119
if: ${{ matrix.options.sdk-preview != true }}
135120
shell: pwsh

.github/workflows/code-coverage.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,10 @@ jobs:
6161
uses: actions/setup-dotnet@v4
6262
with:
6363
dotnet-version: |
64+
8.0.x
65+
7.0.x
6466
6.0.x
6567
66-
- name: Ensure DotNet Path
67-
run: echo "/usr/share/dotnet" >> $GITHUB_PATH
68-
69-
- name: Confirm DotNet Version
70-
run: dotnet --version # This will now find dotnet in /usr/share/dotnet
71-
7268
- name: DotNet Build
7369
shell: pwsh
7470
run: ./ci-build.ps1 "${{matrix.options.framework}}"

ci-build.ps1

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,6 @@ param(
33
[string]$targetFramework
44
)
55

6-
Write-Output "PATH"
7-
Write-Output $env:PATH
8-
9-
Write-Output "DOTNET_LIST"
10-
dotnet --list-sdks
11-
12-
# Confirm dotnet version.
13-
Write-Output "DOTNET_VERSION"
14-
dotnet --version
15-
166
dotnet clean -c Release
177

188
$repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY"

0 commit comments

Comments
 (0)