Skip to content

Commit ecabe45

Browse files
Build only GL
1 parent baa843b commit ecabe45

File tree

9 files changed

+1
-606
lines changed

9 files changed

+1
-606
lines changed

.github/workflows/build-android.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/build-apple.yml

Lines changed: 0 additions & 89 deletions
This file was deleted.

.github/workflows/build-emscripten.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/build-linux.yml

Lines changed: 1 addition & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,7 @@ name: Linux build
33
on: [push, pull_request]
44

55
jobs:
6-
precheks:
7-
runs-on: ubuntu-24.04
8-
name: Linux -> Pre-checks
9-
10-
steps:
11-
- name: Clone repository
12-
uses: actions/checkout@v4
13-
14-
- name: Format validation
15-
shell: bash
16-
working-directory: ${{github.workspace}}/BuildTools/FormatValidation
17-
run: ./validate_format_linux.sh
18-
19-
- name: Codespell
20-
uses: codespell-project/actions-codespell@master
21-
with:
22-
check_filenames: true
23-
ignore_words_file: .github/.codespellignore
24-
skip: ./.git,./ThirdParty
25-
path: .
26-
27-
286
build:
29-
needs: precheks
307
runs-on: ubuntu-24.04
318

329
strategy:
@@ -36,45 +13,10 @@ jobs:
3613
- name: "GCC"
3714
build_type: "Debug"
3815
cmake_generator: "Unix Makefiles"
39-
cmake_args: "-DDILIGENT_BUILD_TESTS=ON"
40-
cc: "gcc-14"
41-
cxx: "g++-14"
42-
43-
- name: "GCC"
44-
build_type: "Release"
45-
cmake_generator: "Unix Makefiles"
46-
cmake_args: "-DDILIGENT_BUILD_TESTS=ON"
16+
cmake_args: "-DDILIGENT_BUILD_CORE_TESTS=ON -DDILIGENT_NO_VULKAN=ON"
4717
cc: "gcc-14"
4818
cxx: "g++-14"
4919

50-
- name: "Clang"
51-
build_type: "Debug"
52-
cmake_generator: "Ninja"
53-
cmake_args: "-DDILIGENT_BUILD_TESTS=ON"
54-
cc: "clang-18"
55-
cxx: "clang++-18"
56-
57-
- name: "Clang"
58-
build_type: "Release"
59-
cmake_generator: "Ninja"
60-
cmake_args: "-DDILIGENT_BUILD_TESTS=ON"
61-
cc: "clang-18"
62-
cxx: "clang++-18"
63-
64-
- name: "Clang-NO_GLSLANG"
65-
build_type: "Debug"
66-
cmake_generator: "Ninja"
67-
cmake_args: "-DDILIGENT_BUILD_CORE_TESTS=ON -DDILIGENT_NO_OPENGL=ON -DDILIGENT_NO_GLSLANG=ON"
68-
cc: "clang-18"
69-
cxx: "clang++-18"
70-
71-
- name: "Clang-NO_GLSLANG-NO_HLSL"
72-
build_type: "Release"
73-
cmake_generator: "Ninja"
74-
cmake_args: "-DDILIGENT_BUILD_CORE_TESTS=ON -DDILIGENT_NO_GLSLANG=ON -DDILIGENT_NO_HLSL=ON"
75-
cc: "clang-18"
76-
cxx: "clang++-18"
77-
7820
name: Linux -> ${{ matrix.name }}-x64, ${{ matrix.build_type }}
7921

8022
steps:
@@ -112,14 +54,6 @@ jobs:
11254
if: success()
11355
uses: DiligentGraphics/github-action/run-core-tests@v1
11456

115-
- name: DiligentCoreAPITest VK
116-
# NB: it is essential to include failure() to override the default status check of success()
117-
# that is automatically applied to if conditions that don't contain a status check function.
118-
if: ${{ (success() || failure() && steps.build.outcome == 'success') && (matrix.name == 'Clang' || matrix.name == 'GCC') }}
119-
uses: DiligentGraphics/github-action/run-core-gpu-tests@v1
120-
with:
121-
mode: vk_sw
122-
12357
- name: DiligentCoreAPITest GL
12458
if: ${{ (success() || failure() && steps.build.outcome == 'success') && (matrix.name == 'Clang' || matrix.name == 'GCC') }}
12559
uses: DiligentGraphics/github-action/run-core-gpu-tests@v1

.github/workflows/build-nuget-package.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)