]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added avx2 (x64) compilation test
authorYann Collet <cyan@fb.com>
Sun, 19 Jan 2025 04:38:48 +0000 (20:38 -0800)
committerYann Collet <cyan@fb.com>
Sun, 19 Jan 2025 06:49:16 +0000 (22:49 -0800)
.github/workflows/dev-short-tests.yml

index fa28283f7a0c80aa9e7a77550457e9981ff2d92c..6bd311f09fffddd0ce81c2fdb1b7747bd025f909 100644 (file)
@@ -164,6 +164,16 @@ jobs:
         make clean
         bash tests/libzstd_builds.sh
 
+  gcc-make-all-avx2:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
+    - name: Make all, with AVX2
+      run: |
+        sudo apt-get -qqq update
+        make libc6install
+        CFLAGS="-Werror -mavx2" make -j all
+
   gcc-make-all-32bit:
     runs-on: ubuntu-latest
     steps:
@@ -178,7 +188,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
-    - name: Make all, 32bit mode
+    - name: Make all, 32bit + AVX2 mode
       run: |
         sudo apt-get -qqq update
         make libc6install