You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2024/01/25 14:58:50 UTC

(couchdb-fast-pbkdf2) 35/40: Enable s390x builds in CI

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-fast-pbkdf2.git

commit 9a4348338fc0df9dda598b2fe55f10bfbb350049
Author: Namrata Bhave <Na...@ibm.com>
AuthorDate: Wed Jan 24 20:20:26 2024 +0530

    Enable s390x builds in CI
---
 .github/workflows/ci.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5392c80..401fca5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -82,3 +82,24 @@ jobs:
         run: |
           pip install --user codecov
           /home/runner/.local/bin/codecov
+
+  test-on-s390x:
+    runs-on: ubuntu-22.04
+    steps:
+    - uses: actions/checkout@v3
+    - name: Setup emulator
+      run: |
+        sudo docker run --rm --privileged tonistiigi/binfmt:qemu-v6.2.0
+    - name: Run build
+      uses: uraimo/run-on-arch-action@v2.6.0
+      with:
+        arch: s390x
+        distro: ubuntu22.04
+        run: | 
+         apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y rebar3 gcc libssl-dev
+         echo "---rebar3 as test get-deps---"
+         rebar3 as test get-deps
+         echo "---rebar3 as test compile---"
+         rebar3 as test compile
+         echo "---rebar3 as test ct---"
+         rebar3 as test ct