From: Kai Pastor Date: Wed, 23 Jul 2025 12:52:29 +0000 (+0200) Subject: CI: Test static build (#1307) X-Git-Tag: upstream/0.0.2404~70 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=56938c4a3b2d923f42040f9ad32d229c76c466cd;p=pkg%2Fggml%2Fsources%2Fggml CI: Test static build (#1307) --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63aaebc8..536a2416 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, macos-13] + libraries: [shared, static] runs-on: ${{ matrix.os }} @@ -34,6 +35,7 @@ jobs: -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/installed -DGGML_METAL=OFF + ${{ contains(matrix.libraries, 'static') && '-DBUILD_SHARED_LIBS=OFF' || '-DBUILD_SHARED_LIBS=ON' }} - name: Build working-directory: ./build