Skip to content

Commit

Permalink
[ci] add Ubuntu ARM64 to GH CI (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
nil4 authored Jan 17, 2025
1 parent e2d330b commit 611530b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,19 @@ jobs:
os: ubuntu-latest
env:
OS: "linux"
SCRIPT_SUFFIX: "linux_x64"

- name: "Ubuntu ARM64"
os: ubuntu-24-arm64-gh
env:
OS: "linux"
SCRIPT_SUFFIX: "linux_arm64"

- name: "macOS ARM64"
os: macos-15
env:
OS: "macOS"
SCRIPT_SUFFIX: "macos_universal"

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

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

steps:
- name: checkout
Expand All @@ -56,13 +63,13 @@ jobs:
- name: build C sample
run: |
cd Samples/Beyond.NET.Sample.C
./build_${{ env.SCRIPT_SUFFIX }}
./build_${{ matrix.env.SCRIPT_SUFFIX }}
- name: build Go sample (Linux)
if: "success() && matrix.env.OS == 'linux'"
run: |
cd Samples/Beyond.NET.Sample.Go
./build_${{ env.SCRIPT_SUFFIX }}
./build_${{ matrix.env.SCRIPT_SUFFIX }}
- name: run Swift tests (macOS)
if: "success() && matrix.env.OS == 'macOS'"
Expand All @@ -76,7 +83,7 @@ jobs:
- name: build native sample
run: |
cd Samples/Beyond.NET.Sample.Native
./publish_${{ env.SCRIPT_SUFFIX }}
./publish_${{ matrix.env.SCRIPT_SUFFIX }}
- name: build Android native
run: |
Expand Down

0 comments on commit 611530b

Please sign in to comment.