ci: Add mingw build test for USE_GAS=ON
authorKacper Michajłow <kasper93@gmail.com>
Sat, 18 May 2024 16:11:38 +0000 (18:11 +0200)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Sat, 18 May 2024 18:31:29 +0000 (12:31 -0600)
.github/workflows/build.yml

index 0a8588dc02ba84540682ae6b4651deba1356ce5d..aae9b99080f460aac5d41be31b0a80390649dd4e 100644 (file)
@@ -356,6 +356,27 @@ jobs:
         - run: cmake --build build
         - run: cmake --install build --prefix /tmp
 
+    mingw-use-gas:
+      runs-on: windows-2022
+      defaults:
+        run:
+          shell: bash
+      steps:
+        - uses: actions/checkout@v4
+        - uses: actions/setup-python@v5
+          with:
+            python-version: '3.11'
+        - uses: lukka/get-cmake@latest
+        - run: |
+            cmake -S. -B build \
+            -D UPDATE_DEPS=ON \
+            -D CMAKE_BUILD_TYPE=Release \
+            -D BUILD_WERROR=ON \
+            -D USE_GAS=ON \
+            -G Ninja
+        - run: cmake --build build
+        - run: cmake --install build --prefix /tmp
+
     mingw-no-asm:
       runs-on: windows-2022
       defaults: