]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
add CI job for linux-x86 platform
authorDmitry Misharov <dmitry@openssl.org>
Tue, 11 Nov 2025 14:11:36 +0000 (15:11 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 19 Nov 2025 13:16:37 +0000 (14:16 +0100)
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29123)

.github/workflows/ci.yml
.github/workflows/os-zoo.yml

index 7f89e66dd311edd9d3cc409cf0c34d0d22ba66f5..fc8a9f3f88943d39ae044a948d78650e3cb10823 100644 (file)
@@ -162,6 +162,47 @@ jobs:
         name: "ci@linux-arm64"
         path: artifacts.tar.gz
 
+  linux-x86:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v5
+      with:
+        persist-credentials: false
+    - name: run container
+      run: |
+        CONTAINER_ID=$(podman run -d -v $(pwd):/mnt -w /mnt --platform=linux/i386 docker.io/i386/debian:13 sleep infinity)
+        echo "CONTAINER_ID=$CONTAINER_ID" >> "$GITHUB_ENV"
+    - name: install dependencies
+      run:
+        podman exec -t $CONTAINER_ID sh -c "apt-get update && apt-get install -y gcc perl make"
+    - name: config
+      run: |
+        podman exec -t $CONTAINER_ID sh -c \
+          "./config --strict-warnings linux-x86 enable-demos enable-fips enable-lms enable-md2 enable-rc5 enable-ssl3 enable-ssl3-method enable-trace"
+    - name: config dump
+      run: |
+        podman exec -t $CONTAINER_ID sh -c \
+          "./configdata.pm --dump"
+    - name: make
+      run: |
+        podman exec -t $CONTAINER_ID sh -c \
+        "make -j"
+    - name: get cpu info
+      run: |
+        cat /proc/cpuinfo
+        podman exec -t $CONTAINER_ID sh -c \
+          "./util/opensslwrap.sh version -c"
+    - name: make test
+      run: |
+        podman exec -t $CONTAINER_ID sh -c \
+          ".github/workflows/make-test"
+    - name: save artifacts
+      if: success() || failure()
+      uses: actions/upload-artifact@v5
+      with:
+        name: "ci@linux-x86"
+        path: artifacts.tar.gz
+
   freebsd-x86_64:
     runs-on: ubuntu-latest
     steps:
index b1fb84569e62eda842f4a4a078331689d7c5e8e3..ebcf1fc2df49d39fe8d5932583b21f7543257e1a 100644 (file)
@@ -202,6 +202,47 @@ jobs:
     - name: make test
       run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
 
+  linux-x86:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v5
+      with:
+        persist-credentials: false
+    - name: run container
+      run: |
+        CONTAINER_ID=$(podman run -d -v $(pwd):/mnt -w /mnt --platform=linux/i386 docker.io/i386/debian:13 sleep infinity)
+        echo "CONTAINER_ID=$CONTAINER_ID" >> "$GITHUB_ENV"
+    - name: install dependencies
+      run:
+        podman exec -t $CONTAINER_ID sh -c "apt-get update && apt-get install -y gcc perl make"
+    - name: config
+      run: |
+        podman exec -t $CONTAINER_ID sh -c \
+          "./config --strict-warnings linux-x86 enable-demos enable-fips enable-lms enable-md2 enable-rc5 enable-ssl3 enable-ssl3-method enable-trace"
+    - name: config dump
+      run: |
+        podman exec -t $CONTAINER_ID sh -c \
+          "./configdata.pm --dump"
+    - name: make
+      run: |
+        podman exec -t $CONTAINER_ID sh -c \
+        "make -j"
+    - name: get cpu info
+      run: |
+        cat /proc/cpuinfo
+        podman exec -t $CONTAINER_ID sh -c \
+          "./util/opensslwrap.sh version -c"
+    - name: make test
+      run: |
+        podman exec -t $CONTAINER_ID sh -c \
+          ".github/workflows/make-test"
+    - name: save artifacts
+      if: success() || failure()
+      uses: actions/upload-artifact@v5
+      with:
+        name: "ci@linux-x86"
+        path: artifacts.tar.gz
+
   linux-ppc64le:
     runs-on: linux-ppc64le
     if: github.repository == 'openssl/openssl'