Skip to content

Commit

Permalink
GHA: use mingw tag for acrtions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Sep 23, 2023
1 parent 9fc6f8f commit ba95326
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
toolset: "x64"
build_type: "Release"
cmake_generator: "MinGW Makefiles"
cmake_args: "-DDILIGENT_BUILD_CORE_TESTS=ON"
cmake_args: "-DDILIGENT_BUILD_CORE_TESTS=ON -DILIGENT_NO_DIRECT3D11=ON -DILIGENT_NO_DIRECT3D12=ON -DDILIGENT_NO_VULKAN=ON"

- name: "UWP"
platform: "UWP"
Expand All @@ -84,15 +84,15 @@ jobs:

- name: Set up build environment
if: success()
uses: DiligentGraphics/github-action/setup-build-env@v1
uses: DiligentGraphics/github-action/setup-build-env@mingw
with:
platform: ${{ matrix.platform }}
cmake-generator: ${{ matrix.cmake_generator }}
ninja-vs-arch: ${{ matrix.toolset }}

- name: Configure CMake
if: success()
uses: DiligentGraphics/github-action/configure-cmake@v1
uses: DiligentGraphics/github-action/configure-cmake@mingw
with:
generator: ${{ matrix.cmake_generator }}
vs-arch: ${{ matrix.toolset }}
Expand All @@ -108,25 +108,25 @@ jobs:

- name: DiligentCoreTest
if: ${{ success() && matrix.name != 'UWP'}}
uses: DiligentGraphics/github-action/run-core-tests@v1
uses: DiligentGraphics/github-action/run-core-tests@mingw

- name: DiligentCoreAPITest D3D11
# NB: it is essential to include failure() to override the default status check of success()
# that is automatically applied to if conditions that don't contain a status check function.
if: ${{ (success() || failure() && steps.build.outcome == 'success') && (matrix.name == 'Win10' || matrix.name == 'Win8.1') }}
uses: DiligentGraphics/github-action/run-core-gpu-tests@v1
uses: DiligentGraphics/github-action/run-core-gpu-tests@mingw
with:
mode: d3d11_sw

- name: DiligentCoreAPITest D3D12
if: ${{ (success() || failure() && steps.build.outcome == 'success') && matrix.name == 'Win10' }}
uses: DiligentGraphics/github-action/run-core-gpu-tests@v1
uses: DiligentGraphics/github-action/run-core-gpu-tests@mingw
with:
mode: d3d12_sw

- name: DiligentCoreAPITest D3D12 DXC
if: ${{ (success() || failure() && steps.build.outcome == 'success') && matrix.name == 'Win10' }}
uses: DiligentGraphics/github-action/run-core-gpu-tests@v1
uses: DiligentGraphics/github-action/run-core-gpu-tests@mingw
with:
mode: d3d12_sw
use-dxc: true
Expand Down

0 comments on commit ba95326

Please sign in to comment.