diff --git a/.craft.yml b/.craft.yml index 9055f7ca731..f416d261c0b 100644 --- a/.craft.yml +++ b/.craft.yml @@ -33,5 +33,7 @@ requireNames: - /^relay-Darwin-x86_64-dsym.zip$/ - /^relay-Linux-x86_64$/ - /^relay-Linux-x86_64-debug.zip$/ + - /^relay-Linux-aarch64$/ + - /^relay-Linux-aarch64-debug.zip$/ - /^relay-Windows-x86_64-pdb.zip$/ - /^relay-Windows-x86_64\.exe$/ diff --git a/.github/workflows/build_binary.yml b/.github/workflows/build_binary.yml index 3804e994810..b6abf2dbc05 100644 --- a/.github/workflows/build_binary.yml +++ b/.github/workflows/build_binary.yml @@ -42,6 +42,38 @@ jobs: # since this artifact will be merged, compression is not necessary compression-level: '0' + linux-aarch64: + name: Linux Aarch64 + runs-on: ubuntu-22.04-arm + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Install Rust Toolchain + run: rustup toolchain install stable --profile minimal --no-self-update + + - name: Build binary + run: | + make build-linux-release + env: + RELAY_FEATURES: + + - name: Bundle Debug File + run: | + cd target/release/ + zip relay-Linux-aarch64-debug.zip relay.debug + mv relay relay-Linux-aarch64 + + - uses: actions/upload-artifact@v4 + with: + name: artifact-linux-aarch64 + path: target/release/relay-Linux-aarch64* + if-no-files-found: 'error' + # since this artifact will be merged, compression is not necessary + compression-level: '0' + macos: name: macOS runs-on: macos-14 @@ -106,7 +138,7 @@ jobs: merge: name: Create Release Artifact runs-on: ubuntu-latest - needs: [linux, macos, windows] + needs: [linux, linux-aarch64, macos, windows] steps: # Note: due to the immutability of artifacts in upload-artifact v4, # there cannot be mutliple upload-artifacts with the same name, in a sha's workflow runs. diff --git a/CHANGELOG.md b/CHANGELOG.md index b6e62253e2b..a7bd942b6b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,13 @@ **Features**: -- Add new `relay-threading` crate with asynchronous thread pool. ([#4500](https://github.com/getsentry/relay/pull/4500)) +- Update release to include an aarch64 binary. ([#4514](https://github.com/getsentry/relay/pull/4514)) - Support span `category` inference from span attributes. ([#4509](https://github.com/getsentry/relay/pull/4509)) **Internal**: - Track an utilization metric for internal services. ([#4501](https://github.com/getsentry/relay/pull/4501)) +- Add new `relay-threading` crate with asynchronous thread pool. ([#4500](https://github.com/getsentry/relay/pull/4500)) ## 25.2.0