Skip to content

Commit cccbf30

Browse files
committed
gh-actions: enable native riscv64 building & testing
1 parent 684c249 commit cccbf30

2 files changed

Lines changed: 25 additions & 12 deletions

File tree

‎.github/workflows/actionlint.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ jobs:
1212
persist-credentials: false
1313
- name: Check workflow files
1414
uses: kjanat/actionlint@1ab487e641ac26ed42a8a753158033d55eaae2e4 # v1.14.0
15+
with:
16+
ignore: |
17+
'label "ubuntu-26.04-riscv" is unknown'

‎.github/workflows/ci.yml‎

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: CI
33
on:
44
push:
55
branches-ignore:
6-
- 'ci/**'
76
- '!ci/gha**'
7+
- 'ci/**'
88
- 'dependabot/**'
99
pull_request:
1010
branches:
@@ -337,6 +337,14 @@ jobs:
337337
- version: 15
338338
distro: ubuntu-26.04-arm
339339
plain: true
340+
- version: 15
341+
distro: ubuntu-26.04-riscv
342+
- version: 15
343+
distro: ubuntu-26.04-riscv
344+
arch_flags: -O3
345+
- version: 15
346+
distro: ubuntu-26.04-riscv
347+
plain: true
340348
- version: 15 # plain armhf
341349
distro: ubuntu-24.04-arm
342350
gcc: arm-linux-gnueabihf
@@ -426,17 +434,6 @@ jobs:
426434
arch_deb: armel
427435
arch_gnu: arm
428436
distro: ubuntu-26.04
429-
- version: 15
430-
cross: riscv64
431-
arch_gnu: riscv64
432-
arch_deb: riscv64
433-
distro: ubuntu-26.04-arm
434-
- extra: -O3
435-
version: 15
436-
cross: riscv64
437-
arch_gnu: riscv64
438-
arch_deb: riscv64
439-
distro: ubuntu-26.04-arm
440437
- version: 15
441438
cross: s390x
442439
arch_gnu: s390x
@@ -849,6 +846,19 @@ jobs:
849846
- version: "22"
850847
distro: ubuntu-26.04-arm
851848
arch_flags: -Wno-unsafe-buffer-usage -Wno-switch-default -Wno-c++-keyword -O2
849+
- version: "22"
850+
distro: ubuntu-26.04-riscv
851+
arch_flags: -Wno-unsafe-buffer-usage -Wno-switch-default -Wno-c++-keyword
852+
- version: "22"
853+
distro: ubuntu-26.04-riscv
854+
plain: true
855+
arch_flags: -Wno-unsafe-buffer-usage -Wno-switch-default -Wno-c++-keyword
856+
- version: "22"
857+
distro: ubuntu-26.04-riscv
858+
arch_flags: -ffast-math -Wno-unsafe-buffer-usage -Wno-switch-default -Wno-c++-keyword -Wno-nan-infinity-disabled
859+
- version: "22"
860+
distro: ubuntu-26.04-riscv
861+
arch_flags: -Wno-unsafe-buffer-usage -Wno-switch-default -Wno-c++-keyword -O2
852862
- version: "23"
853863
distro: ubuntu-26.04
854864
arch_flags: -Wno-unsafe-buffer-usage -Wno-switch-default -Wno-c++-keyword

0 commit comments

Comments
 (0)