]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added musl compilation test in CI
authorYann Collet <cyan@fb.com>
Fri, 21 Feb 2025 17:57:55 +0000 (09:57 -0800)
committerYann Collet <cyan@fb.com>
Fri, 21 Feb 2025 17:57:55 +0000 (09:57 -0800)
.github/workflows/dev-short-tests.yml

index 7df105532f0885a9146f7d122136d8413fff52dd..56a46a7443144fc2ab71c96b6d387241d58675c6 100644 (file)
@@ -684,6 +684,17 @@ jobs:
         make -C programs zstd-pgo
         ./programs/zstd -b
 
+  musl-build:
+    runs-on: ubuntu-22.04
+    steps:
+      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
+      - name: Install musl-tools
+        run: |
+          sudo apt install -y musl-tools
+      - name: Compile the project with musl-gcc
+        run: |
+          CC=musl-gcc make -j V=1 zstd
+
   intel-cet-compatibility:
     runs-on: ubuntu-latest
     steps: