diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d02cc07a22..41e756a8adf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,17 +108,22 @@ jobs: strategy: matrix: go-version: ["~1.22.0", "~1.21.3"] - os: [ubuntu-latest, macos-latest, windows-latest] - # GitHub Actions does not support arm* architectures on default - # runners. It is possible to accomplish this with a self-hosted runner - # if we want to add this in the future: - # https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow - arch: ["386", amd64] - exclude: - # Not a supported Go OS/architecture. + platform: + - os: ubuntu-latest + arch: "386" + - os: ubuntu-latest + arch: amd64 - os: macos-latest + arch: amd64 + - os: windows-latest arch: "386" - runs-on: ${{ matrix.os }} + - os: windows-latest + arch: amd64 + # ARM64 compatibility tests are using actuated runners + # See https://github.com/open-telemetry/community/blob/main/docs/using-actuated.md + - os: actuated-arm64-2cpu-8gb + arch: arm64 + runs-on: ${{ matrix.platform.os }} steps: - name: Checkout code uses: actions/checkout@v4 @@ -130,7 +135,7 @@ jobs: cache-dependency-path: "**/go.sum" - name: Run tests env: - GOARCH: ${{ matrix.arch }} + GOARCH: ${{ matrix.platform.arch }} run: make test-short test-compatibility: diff --git a/CHANGELOG.md b/CHANGELOG.md index 68cc02b478e..4d6d0bef9dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ The next release will require at least [Go 1.21]. This module includes OpenTelemetry Go's implementation of the Logs Bridge API. This module is in an alpha state, it is subject to breaking changes. See our [versioning policy](./VERSIONING.md) for more info. (#4961) +- ARM64 platform to the compatibility testing suite. (#4994) ### Fixed diff --git a/README.md b/README.md index aa9baa6c627..47f9a41f66d 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,8 @@ Currently, this project supports the following environments. | Ubuntu | 1.21 | amd64 | | Ubuntu | 1.22 | 386 | | Ubuntu | 1.21 | 386 | +| Linux | 1.22 | arm64 | +| Linux | 1.21 | arm64 | | MacOS | 1.22 | amd64 | | MacOS | 1.21 | amd64 | | Windows | 1.22 | amd64 |