Skip to content

Commit 611530b

Browse files
authored
[ci] add Ubuntu ARM64 to GH CI (#97)
1 parent e2d330b commit 611530b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,19 @@ jobs:
2727
os: ubuntu-latest
2828
env:
2929
OS: "linux"
30+
SCRIPT_SUFFIX: "linux_x64"
31+
32+
- name: "Ubuntu ARM64"
33+
os: ubuntu-24-arm64-gh
34+
env:
35+
OS: "linux"
36+
SCRIPT_SUFFIX: "linux_arm64"
3037

3138
- name: "macOS ARM64"
3239
os: macos-15
3340
env:
3441
OS: "macOS"
42+
SCRIPT_SUFFIX: "macos_universal"
3543

3644
runs-on: "${{ matrix.os }}"
3745

@@ -43,7 +51,6 @@ jobs:
4351
DOTNET_NOLOGO: 1
4452
DOTNET_CLI_TELEMETRY_OPTOUT: 1
4553
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
46-
SCRIPT_SUFFIX: "${{ matrix.env.OS == 'linux' && 'linux_x64' || 'macos_universal' }}"
4754

4855
steps:
4956
- name: checkout
@@ -56,13 +63,13 @@ jobs:
5663
- name: build C sample
5764
run: |
5865
cd Samples/Beyond.NET.Sample.C
59-
./build_${{ env.SCRIPT_SUFFIX }}
66+
./build_${{ matrix.env.SCRIPT_SUFFIX }}
6067
6168
- name: build Go sample (Linux)
6269
if: "success() && matrix.env.OS == 'linux'"
6370
run: |
6471
cd Samples/Beyond.NET.Sample.Go
65-
./build_${{ env.SCRIPT_SUFFIX }}
72+
./build_${{ matrix.env.SCRIPT_SUFFIX }}
6673
6774
- name: run Swift tests (macOS)
6875
if: "success() && matrix.env.OS == 'macOS'"
@@ -76,7 +83,7 @@ jobs:
7683
- name: build native sample
7784
run: |
7885
cd Samples/Beyond.NET.Sample.Native
79-
./publish_${{ env.SCRIPT_SUFFIX }}
86+
./publish_${{ matrix.env.SCRIPT_SUFFIX }}
8087
8188
- name: build Android native
8289
run: |

0 commit comments

Comments
 (0)