Skip to content

Commit

Permalink
[ci] Do cross architecture build of collector
Browse files Browse the repository at this point in the history
This job will help to see if any issues introduced to cross binary builds,
when a commit is pushed.

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
  • Loading branch information
hickeyma committed Apr 4, 2022
1 parent d2e5601 commit f8d9624
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,28 @@ jobs:
file: ./coverage.txt
fail_ci_if_error: true
verbose: true
crossbuild:
name: Crossbuild Collector
needs: [setup-environment]
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- goos: linux
goarch: 386
- goos: linux
goarch: arm64
- goos: darwin
goarch: arm64
- goos: windows
goarch: 386

steps:
- name: Build
env:
GOOS: ${{matrix.goos}}
GOARCH: ${{matrix.goarch}}
run: |
make otelcorecol

0 comments on commit f8d9624

Please sign in to comment.