From: Christopher Degawa Date: Thu, 5 Oct 2023 00:02:04 +0000 (-0500) Subject: github: split mingw-no-asm job X-Git-Tag: upstream/1.3.268~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1655ef77227c62a64ab84a6df27a9c7411ea1726;p=platform%2Fupstream%2FVulkan-Loader.git 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 --- 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 @@ -455,6 +455,38 @@ jobs: run: ccache --show-stats mingw-no-asm: + 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 + # 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: