Skip to content

Commit

Permalink
adding support for ppc64le
Browse files Browse the repository at this point in the history
  • Loading branch information
adilhusain-s committed Jun 27, 2022
1 parent 408f1e9 commit d697120
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 13 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/bash.exe.stackdump
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Stack trace:
Frame Function Args
000FFFF9C08 001800647D1 (000FFFF9E28, 00000000002, 000FFFFCE00, 000FFFFDE50)
000FFFF9CB0 00180066C00 (00000000064, 00000000000, 000000002B4, 00000000000)
000FFFFA330 0018014B838 (00000000000, 00000000000, 7FFD6E961863, 0000000F002)
000FFFFA4B0 00180064AB3 (00000000000, 00000000000, 00000000000, 000FFFFAB40)
000FFFFAAF0 7FFD6E9D209F (000FFFFAAF0, 000FFFFB1B0, 00000000000, 000FFFFA5F0)
000FFFFAAF0 7FFD6E981454 (0010044BA70, 00180325080, 00000000000, 00000000000)
000FFFFB480 7FFD6E9D0BCE (00100000209, 000FFFFB4E0, 00000000001, 008000501F0)
000FFFFB480 00180189961 (0000000000F, 0010044A360, 0000000000A, 008001EDE30)
000FFFFB530 001800DC33C (00100477203, 00000000004, 00000000000, 5E26B00000000)
00000000000 00180142EDB (00100477203, 00000000004, 00000000000, 5E26B00000000)
00000000000 0010044A3BF (0018006C86F, 00000000000, 00000000000, 001005DAEF4)
001005D4DF0 00100480801 (001800DC33C, 0000000000F, 0010044DD1F, 0000000000F)
0000000000F 0010044C76F (0010047E3B0, 001004D26A1, 001800DC264, 26000000000001)
00000000001 0010044CC88 (0010000000F, 00000000009, 001005D4878, 00100480F80)
008001EDE30 00100480906 (90000010048A93B, 00000000000, 00000000001, 00100000000)
008001EDE30 00100480AB2 (001005D1D44, 00000000000, 001005DB2F0, 0010043E860)
00100480F80 00100477AC1 (00100477524, 0010043E860, 00000000001, 0010043E860)
001005D1D38 00100477FC9 (00000000000, 00000000000, 0010043ABF0, 00000000001)
001005D1D38 00100478755 (00100426645, 00000000000, 00000000000, 001005D6340)
001005D1D38 001004025CF (00000000000, 00000000000, 00000000000, 00000000000)
001005D1D38 00100404603 (00000000000, 00000000000, 00000000000, 008001E9560)
000FFFFBAF0 0010040756A (7FFD6C2147E6, 00000000004, 00008000000, 00000000000)
000FFFFBAF0 0010040AB98 (00000000000, 00000000000, 0010041A639, 001005CF058)
00000000000 00100401A34 (0000000000C, 0010043E860, 00000000002, 00000000000)
00000000000 00100401B46 (00000000001, 00000000000, 00180142EDB, 001005DAEA8)
00000000000 00100401D67 (001802C6DB0, 000FFFFCAE0, 00000000000, 0018034BD08)
00000000000 001004BFB92 (000FFFFCC60, 008000281A0, 000FFFFCDF0, 00180325C00)
000FFFFCCE0 0018004B0FB (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFCDA0 00180048A2A (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFCE50 00180048AEC (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace
16 changes: 9 additions & 7 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ jobs:
key: coverage-${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
- name: Run Unit Tests With Coverage
run: make gotest-with-cover
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
file: ./coverage.txt
fail_ci_if_error: true
verbose: true
# - name: Upload coverage report
# uses: codecov/codecov-action@v3
# with:
# file: ./coverage.txt
# fail_ci_if_error: true
# verbose: true

cross-build-collector:
needs: [setup-environment]
Expand All @@ -186,6 +186,8 @@ jobs:
goarch: arm64
- goos: linux
goarch: arm
- goos: linux
goarch: ppc64le
- goos: windows
goarch: 386
- goos: windows
Expand All @@ -211,4 +213,4 @@ jobs:
GOOS: ${{matrix.goos}}
GOARCH: ${{matrix.goarch}}
run: |
make otelcorecol
make otelcorecol
4 changes: 2 additions & 2 deletions .github/workflows/builder-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser-pro
#distribution: goreleaser-pro
version: latest
args: release --rm-dist -f cmd/builder/.goreleaser.yml
env:
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
#GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/scripts/verify-dist-files-exist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ files=(
bin/otelcol_darwin_amd64
bin/otelcol_darwin_arm64
bin/otelcol_linux_arm64
bin/otelcol_linux_ppc64le
bin/otelcol_linux_amd64
bin/otelcol_windows_amd64.exe
);
Expand Down
10 changes: 6 additions & 4 deletions cmd/builder/.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
before:
hooks:
- go mod download
monorepo:
tag_prefix: cmd/builder/
dir: cmd/builder
#monorepo:
#tag_prefix: cmd/builder/
#dir: cmd/builder
builds:
- flags:
- -trimpath
ldflags:
- -s -w -X go.opentelemetry.io/collector/cmd/builder/internal.version={{.Version}} -X go.opentelemetry.io/collector/cmd/builder/internal.date={{.Date}}
env:
- CGO_ENABLED=0
dir: ./cmd/builder
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- ppc64le
ignore:
- goos: windows
goarch: arm64
binary: ocb
release:
github:
owner: open-telemetry
owner: adilhusain-s
name: opentelemetry-collector
archives:
- format: binary
Expand Down

0 comments on commit d697120

Please sign in to comment.