Skip to content

Commit 4198fcf

Browse files
committed
Load balance GHAs to 20 or less
1 parent 6287686 commit 4198fcf

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

.github/workflows/clangcl.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ on:
3131
- build/*.targets
3232
- build/*.xvd
3333

34+
env:
35+
DIRECTXMESH_MEDIA_PATH: ${{ github.workspace }}/Media
36+
3437
permissions:
3538
contents: read
3639

@@ -57,6 +60,13 @@ jobs:
5760
steps:
5861
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5962

63+
- name: Clone test repository
64+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
65+
with:
66+
repository: walbourn/directxmeshtest
67+
path: Tests
68+
ref: main
69+
6070
- name: 'Install Ninja'
6171
run: choco install ninja
6272

@@ -66,7 +76,7 @@ jobs:
6676

6777
- name: 'Configure CMake'
6878
working-directory: ${{ github.workspace }}
69-
run: cmake --preset=${{ matrix.build_type }}
79+
run: cmake --preset=${{ matrix.build_type }} -DBUILD_TESTING=ON
7080

7181
- name: 'Build'
7282
working-directory: ${{ github.workspace }}
@@ -78,7 +88,7 @@ jobs:
7888

7989
- name: 'Configure CMake (DLL)'
8090
working-directory: ${{ github.workspace }}
81-
run: cmake --preset=${{ matrix.build_type }} -DBUILD_SHARED_LIBS=ON
91+
run: cmake --preset=${{ matrix.build_type }} -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON
8292

8393
- name: 'Build (DLL)'
8494
working-directory: ${{ github.workspace }}

.github/workflows/main.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@ jobs:
141141
arch: amd64_arm64
142142
- build_type: arm64-Release
143143
arch: amd64_arm64
144-
- build_type: arm64ec-Debug
145-
arch: amd64_arm64
146-
- build_type: arm64ec-Release
147-
arch: amd64_arm64
148144

149145
steps:
150146
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/test.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,6 @@ jobs:
6262
- toolver: '14'
6363
build_type: x86-Release
6464
arch: amd64_x86
65-
- toolver: '14'
66-
build_type: x64-Debug-Clang
67-
arch: amd64
68-
- toolver: '14'
69-
build_type: x64-Release-Clang
70-
arch: amd64
71-
- toolver: '14'
72-
build_type: x86-Debug-Clang
73-
arch: amd64_x86
74-
- toolver: '14'
75-
build_type: x86-Release-Clang
76-
arch: amd64_x86
7765
- toolver: '14'
7866
build_type: arm64-Debug
7967
arch: amd64_arm64

0 commit comments

Comments
 (0)