diff options
author | Christopher Degawa <ccom@randomderp.com> | 2023-10-04 19:02:04 -0500 |
---|---|---|
committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2023-10-05 16:44:15 -0600 |
commit | 1655ef77227c62a64ab84a6df27a9c7411ea1726 (patch) | |
tree | 30befd44a1e97946f534a965a6e929e838f9ba6c | |
parent | 25c552731e7e81b8409d972993c8140c0c6f0d3d (diff) | |
download | Vulkan-Loader-1655ef77227c62a64ab84a6df27a9c7411ea1726.tar.gz Vulkan-Loader-1655ef77227c62a64ab84a6df27a9c7411ea1726.tar.bz2 Vulkan-Loader-1655ef77227c62a64ab84a6df27a9c7411ea1726.zip |
github: split mingw-no-asm job
Splits the mingw-no-asm job into an explicit -D USE_MASM=OFF and one
without to test the automatic detection of MASM.
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
-rw-r--r-- | .github/workflows/build.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 003ed3e3..ce4ba5c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -472,6 +472,38 @@ jobs: - name: GCC Version run: gcc --version # If this fails MINGW is not setup correctly - name: Configure + # Make sure this doesn't fail even without -D USE_MASM=OFF and without uasm + 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-explicit: + 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 -D ENABLE_WERROR=ON -D USE_MASM=OFF env: LDFLAGS: -fuse-ld=lld # MINGW linking is very slow. Use llvm linker instead. |