]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added x32 compatibility test
authorYann Collet <cyan@fb.com>
Sat, 11 Dec 2021 04:56:20 +0000 (20:56 -0800)
committerYann Collet <cyan@fb.com>
Sat, 11 Dec 2021 04:56:20 +0000 (20:56 -0800)
.github/workflows/dev-short-tests.yml

index 4ff9cac931dea93b259b185ae55e32a8f3bdf385..b5cd2415dec0531366bd4c6cf285f0b5901400ce 100644 (file)
@@ -37,6 +37,18 @@ jobs:
         APT_PACKAGES="gcc-multilib" make apt-install
         CFLAGS="-m32 -O1 -fstack-protector" make check V=1
 
+  check-x32:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: make check on x32 ABI # https://en.wikipedia.org/wiki/X32_ABI
+      env:
+        CHECK_CONSTRAINED_MEM: true
+      run: |
+        sudo apt update
+        APT_PACKAGES="gcc-multilib" make apt-install
+        CFLAGS="-mx32 -O1 -fstack-protector" make check V=1
+
   gcc-7-libzstd:
     runs-on: ubuntu-latest
     steps: