Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] add Ubuntu ARM64 to GH CI #97

Merged
merged 2 commits into from
Jan 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading