Disable MinGW Github Actions run
authorCharles Giessen <charles@lunarg.com>
Wed, 7 Jun 2023 17:09:44 +0000 (11:09 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Wed, 7 Jun 2023 17:40:44 +0000 (11:40 -0600)
MinGW uses JWASM to compile the assembly code. This commit disables that run
for the time being because github actions currently doesn't have JWASM setup.
While work could be done to get it working, it is low priority.

.github/workflows/build.yml

index 82604675d1b02414106b810e05e4c632b403a54b..fd1ce4bf68e29cf5ed4296acc6acf70239e91b9a 100644 (file)
@@ -417,36 +417,38 @@ jobs:
             - name: Build the loader
               run: ninja -C out/${{matrix.config}}
 
-    mingw:
-      runs-on: windows-2022
-      defaults:
-        run:
-          shell: bash
-      steps:
-        - uses: actions/checkout@v3
-        - name: Setup ccache
-          uses: hendrikmuhs/ccache-action@v1.2
-          with:
-            key: mingw-ccache
-        - uses: actions/setup-python@v4
-          with:
-            python-version: '3.8'
-        - uses: lukka/get-cmake@latest
-        - name: GCC Version
-          run: gcc --version # If this fails MINGW is not setup correctly
-        - name: Configure
-          run: cmake -S. -B build -D UPDATE_DEPS=ON -D CMAKE_BUILD_TYPE=Release
-          env:
-            LDFLAGS: -fuse-ld=lld # MINGW linking is very slow. Use llvm linker instead.
-            CMAKE_C_COMPILER_LAUNCHER: ccache
-            CMAKE_CXX_COMPILER_LAUNCHER: ccache
-            CMAKE_GENERATOR: Ninja
-        - name: Build
-          run: cmake --build build -- --quiet
-        - name: Install
-          run: cmake --install build --prefix build/install
-        - name: MinGW ccache stats # The Post Setup ccache doesn't work right on MinGW
-          run: ccache --show-stats
+    # MinGW uses JWASM to compile the assembly code - since that isn't available on github actions, this run is disabled
+
+    # mingw:
+    #   runs-on: windows-2022
+    #   defaults:
+    #     run:
+    #       shell: bash
+    #   steps:
+    #     - uses: actions/checkout@v3
+    #     - name: Setup ccache
+    #       uses: hendrikmuhs/ccache-action@v1.2
+    #       with:
+    #         key: mingw-ccache
+    #     - uses: actions/setup-python@v4
+    #       with:
+    #         python-version: '3.8'
+    #     - uses: lukka/get-cmake@latest
+    #     - name: GCC Version
+    #       run: gcc --version # If this fails MINGW is not setup correctly
+    #     - name: Configure
+    #       run: cmake -S. -B build -D UPDATE_DEPS=ON -D CMAKE_BUILD_TYPE=Release
+    #       env:
+    #         LDFLAGS: -fuse-ld=lld # MINGW linking is very slow. Use llvm linker instead.
+    #         CMAKE_C_COMPILER_LAUNCHER: ccache
+    #         CMAKE_CXX_COMPILER_LAUNCHER: ccache
+    #         CMAKE_GENERATOR: Ninja
+    #     - name: Build
+    #       run: cmake --build build -- --quiet
+    #     - name: Install
+    #       run: cmake --install build --prefix build/install
+    #     - name: MinGW ccache stats # The Post Setup ccache doesn't work right on MinGW
+    #       run: ccache --show-stats
 
     mingw-no-asm:
       runs-on: windows-2022