Skip to content

Commit 449cbb5

Browse files
committed
feat: add riscv64 arch
Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
1 parent 475434d commit 449cbb5

21 files changed

+137
-31
lines changed

.github/workflows/base-ci-goreleaser.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
GOARCH: ppc64le
5656
- GOOS: windows
5757
GOARCH: ppc64le
58+
- GOOS: darwin
59+
GOARCH: riscv64
60+
- GOOS: windows
61+
GOARCH: riscv64
5862
runs-on: ubuntu-24.04
5963
outputs:
6064
version: ${{ steps.prep.outputs.version }}
@@ -68,7 +72,7 @@ jobs:
6872
- name: Setup QEMU
6973
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
7074
with:
71-
platforms: arm64,ppc64le,linux/arm/v7,s390x
75+
platforms: arm64,ppc64le,linux/arm/v7,s390x,riscv64
7276

7377
- name: Setup wixl # Required to build MSI packages for Windows
7478
if: ${{ matrix.GOOS == 'windows' && ( matrix.GOARCH == '386' || matrix.GOARCH == 'amd64') }}
@@ -268,7 +272,7 @@ jobs:
268272
- name: Setup QEMU
269273
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
270274
with:
271-
platforms: arm64,ppc64le,linux/arm/v7,s390x
275+
platforms: arm64,ppc64le,linux/arm/v7,s390x,riscv64
272276

273277
- name: Download container image artifact
274278
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0

.github/workflows/base-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
5151
if: runner.os != 'Windows'
5252
with:
53-
platforms: arm64,ppc64le,linux/arm/v7,s390x
53+
platforms: arm64,ppc64le,linux/arm/v7,s390x,riscv64
5454

5555
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
5656
if: runner.os != 'Windows'
@@ -162,7 +162,7 @@ jobs:
162162
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
163163
if: runner.os != 'Windows'
164164
with:
165-
platforms: arm64,ppc64le,s390x
165+
platforms: arm64,ppc64le,s390x,riscv64
166166

167167
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
168168
if: runner.os != 'Windows'

.github/workflows/builder-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
jobs:
1212
goreleaser:
1313
runs-on: ubuntu-latest
14-
14+
1515
permissions:
1616
id-token: write
1717
packages: write
@@ -43,7 +43,7 @@ jobs:
4343
- uses: anchore/sbom-action/download-syft@e11c554f704a0b820cbf8c51673f6945e0731532 # v0.20.0
4444
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
4545
with:
46-
platforms: amd64, arm64,ppc64le
46+
platforms: amd64,arm64,ppc64le,riscv64
4747
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
4848
- name: Setup Go
4949
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

.github/workflows/builder-testbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI - Builder
22

33
on:
4-
merge_group:
4+
merge_group:
55
push:
66
branches: [main]
77
paths:
@@ -47,7 +47,7 @@ jobs:
4747
- uses: anchore/sbom-action/download-syft@e11c554f704a0b820cbf8c51673f6945e0731532 # v0.20.0
4848
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
4949
with:
50-
platforms: amd64, arm64,ppc64le
50+
platforms: amd64,arm64,ppc64le,riscv64
5151
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
5252
- name: Setup Go
5353
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

.github/workflows/ci-goreleaser-contrib.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI - Contrib - GoReleaser
22

33
on:
4-
merge_group:
4+
merge_group:
55
push:
66
branches: [main]
77
paths:
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
distribution: otelcol-contrib
3232
goos: '[ "linux", "windows", "darwin" ]'
33-
goarch: '[ "386", "amd64", "arm64", "ppc64le", "arm", "s390x" ]'
33+
goarch: '[ "386", "amd64", "arm", "arm64", "ppc64le", "riscv64", "s390x" ]'
3434
secrets: inherit
3535

3636
package-tests:

.github/workflows/ci-goreleaser-core.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI - Core - GoReleaser
22

33
on:
4-
merge_group:
4+
merge_group:
55
push:
66
branches: [main]
77
paths:
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
distribution: otelcol
3232
goos: '[ "linux", "windows", "darwin" ]'
33-
goarch: '[ "386", "amd64", "arm64", "ppc64le", "arm", "s390x" ]'
33+
goarch: '[ "386", "amd64", "arm", "arm64", "ppc64le", "riscv64", "s390x" ]'
3434
secrets: inherit
3535

3636
package-tests:

.github/workflows/ci-goreleaser-k8s.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI - k8s - GoReleaser
22

33
on:
4-
merge_group:
4+
merge_group:
55
push:
66
branches: [main]
77
paths:
@@ -30,5 +30,5 @@ jobs:
3030
with:
3131
distribution: otelcol-k8s
3232
goos: '[ "linux" ]'
33-
goarch: '[ "amd64", "arm64", "ppc64le", "s390x" ]'
33+
goarch: '[ "amd64", "arm64", "ppc64le", "riscv64", "s390x" ]'
3434
secrets: inherit

.github/workflows/ci-goreleaser-otlp.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI - OTLP - GoReleaser
22

33
on:
4-
merge_group:
4+
merge_group:
55
push:
66
branches: [main]
77
paths:
@@ -30,5 +30,5 @@ jobs:
3030
with:
3131
distribution: otelcol-otlp
3232
goos: '[ "linux", "windows", "darwin" ]'
33-
goarch: '[ "386", "amd64", "arm64", "ppc64le", "arm", "s390x" ]'
33+
goarch: '[ "386", "amd64", "arm", "arm64", "ppc64le", "riscv64", "s390x" ]'
3434
secrets: inherit

.github/workflows/opampsupervisor-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
jobs:
1212
goreleaser:
1313
runs-on: ubuntu-latest
14-
14+
1515
permissions:
1616
id-token: write
1717
packages: write
@@ -43,7 +43,7 @@ jobs:
4343
- uses: anchore/sbom-action/download-syft@e11c554f704a0b820cbf8c51673f6945e0731532 # v0.20.0
4444
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
4545
with:
46-
platforms: amd64, arm64,ppc64le
46+
platforms: amd64,arm64,ppc64le,riscv64
4747
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
4848
- name: Setup Go
4949
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

.github/workflows/opampsupervisor-testbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI - OpAMP supervisor
22

33
on:
4-
merge_group:
4+
merge_group:
55
push:
66
branches: [main]
77
paths:
@@ -45,7 +45,7 @@ jobs:
4545
- uses: anchore/sbom-action/download-syft@e11c554f704a0b820cbf8c51673f6945e0731532 # v0.20.0
4646
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
4747
with:
48-
platforms: amd64, arm64,ppc64le
48+
platforms: amd64, arm64,ppc64le,riscv64
4949
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
5050
- name: Setup Go
5151
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0

0 commit comments

Comments
 (0)