ffacs commented on code in PR #2644:
URL: https://github.com/apache/orc/pull/2644#discussion_r3426932369
##########
.github/workflows/build_and_test.yml:
##########
@@ -63,6 +63,38 @@ jobs:
cd docker
./run-one.sh local main ${{ matrix.os }}
+ riscv64:
+ name: "RISC-V ${{ matrix.os }}"
+ needs: [license-check]
+ runs-on: ubuntu-latest
+ timeout-minutes: 180
+ strategy:
+ fail-fast: false
+ max-parallel: 20
+ matrix:
+ os:
+ - riscv64-ubuntu26
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v3
+ with:
+ platforms: linux/riscv64
+ - name: Set up Buildx
+ uses: docker/setup-buildx-action@v3
+ - name: Build Docker image
+ run: |
+ cd docker/${{ matrix.os }}
+ docker buildx build --platform linux/riscv64 --load \
+ --cache-from type=gha,scope=riscv64-ubuntu26 \
+ --cache-to type=gha,mode=max,scope=riscv64-ubuntu26 \
+ -t orc-riscv64 .
+ - name: Build ORC with RVV
+ run: |
+ docker run --platform linux/riscv64 --rm -v $(pwd):/root/orc
orc-riscv64 /bin/bash -c \
Review Comment:
we should make sure v extension is enable
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]