Skip to content

Commit

Permalink
adding support for linux/ppc64le arch (open-telemetry#12166)
Browse files Browse the repository at this point in the history
Adding support for linux/ppc64le arch
  • Loading branch information
adilhusain-s committed Jul 13, 2022
1 parent e15878c commit 8680aae
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,20 @@ jobs:
- amd64
- arm
- arm64
- ppc64le
exclude:
- os: darwin
arch: 386
- os: darwin
arch: arm
- os: darwin
arch: ppc64le
- os: windows
arch: arm
- os: windows
arch: arm64
- os: windows
arch: ppc64le
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -356,6 +361,8 @@ jobs:
run: ./internal/buildscripts/packaging/fpm/${{ matrix.package_type }}/build.sh "${{ steps.github_tag.outputs.tag }}" "amd64" "./dist/"
- name: Build ${{ matrix.package_type }} arm64 package
run: ./internal/buildscripts/packaging/fpm/${{ matrix.package_type }}/build.sh "${{ steps.github_tag.outputs.tag }}" "arm64" "./dist/"
- name: Build ${{ matrix.package_type }} ppc64le package
run: ./internal/buildscripts/packaging/fpm/${{ matrix.package_type }}/build.sh "${{ steps.github_tag.outputs.tag }}" "ppc64le" "./dist/"
- name: Test ${{ matrix.package_type }} package
run: |
if [[ "${{ matrix.package_type }}" = "deb" ]]; then
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scripts/verify-dist-files-exist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ files=(
bin/otelcontribcol_darwin_arm64
bin/otelcontribcol_darwin_amd64
bin/otelcontribcol_linux_arm64
bin/otelcontribcol_linux_ppc64le
bin/otelcontribcol_linux_amd64
bin/otelcontribcol_windows_amd64.exe
dist/otel-contrib-collector-*.aarch64.rpm
dist/otel-contrib-collector_*_amd64.deb
dist/otel-contrib-collector-*.x86_64.rpm
dist/otel-contrib-collector_*_arm64.deb
dist/otel-contrib-collector_*_ppc64le.deb
dist/otel-contrib-collector_*_ppc64le.rpm
dist/otel-contrib-collector-*amd64.msi

);
Expand Down
17 changes: 17 additions & 0 deletions unreleased/add_ppc64le_in_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: supported platforms

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Add `linux-ppc64le` architecture to cross build tests in CI


# One or more tracking issues related to the change
issues: [12350]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:

0 comments on commit 8680aae

Please sign in to comment.