Skip to content

Commit 99e6f12

Browse files
committed
WIP: put uses back
1 parent e739cb1 commit 99e6f12

File tree

1 file changed

+32
-35
lines changed

1 file changed

+32
-35
lines changed

.github/workflows/cmake-test.yml

Lines changed: 32 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,28 @@ on:
88

99
jobs:
1010
cmake-test-macos:
11+
uses: ./.github/workflows/cmake-test-on.yml
12+
with:
13+
os: ${{ matrix.os }}
14+
os_version: ${{ matrix.os_version }}
15+
compiler: ${{ matrix.compiler }}
16+
triplet: ${{ matrix.target-cpu }}-${{ matrix.target-os }}
17+
variant: ${{ matrix.variant }}
1118
strategy:
12-
fail-fast: false
13-
matrix:
14-
os: [macos]
15-
os_version: [latest]
16-
compiler: [clang++]
17-
variant: [Debug, Release]
18-
include:
19-
- os: macos
20-
target-cpu: arm64
21-
target-os: osx
22-
target-compiler: clang
19+
fail-fast: false
20+
matrix:
21+
os: [macos]
22+
os_version: [latest]
23+
compiler: [clang++]
24+
variant: [Debug, Release]
25+
include:
26+
- os: macos
27+
target-cpu: arm64
28+
target-os: osx
29+
target-compiler: clang
2330
env:
2431
OUTPUT_BINARY: firestarr-${{ matrix.os }}-${{ matrix.target-cpu}}-${{ matrix.target-compiler }}-${{ matrix.variant }}
2532
steps:
26-
- uses: ./.github/workflows/cmake-test-on.yml
27-
with:
28-
os: ${{ matrix.os }}
29-
os_version: ${{ matrix.os_version }}
30-
compiler: ${{ matrix.compiler }}
31-
triplet: ${{ matrix.target-cpu }}-${{ matrix.target-os }}
32-
variant: ${{ matrix.variant }}
33-
3433
- name: Locate binary
3534
id: locate
3635
run: |
@@ -82,6 +81,13 @@ jobs:
8281

8382

8483
cmake-test-ubuntu:
84+
uses: ./.github/workflows/cmake-test-on.yml
85+
with:
86+
os: ${{ matrix.os }}
87+
os_version: ${{ matrix.os_version }}
88+
compiler: ${{ matrix.compiler }}
89+
triplet: ${{ matrix.target-cpu }}-${{ matrix.target-os }}
90+
variant: ${{ matrix.variant }}
8591
strategy:
8692
fail-fast: false
8793
matrix:
@@ -100,14 +106,6 @@ jobs:
100106
env:
101107
OUTPUT_BINARY: firestarr-${{ matrix.os }}-${{ matrix.target-cpu}}-${{ matrix.target-compiler }}-${{ matrix.variant }}
102108
steps:
103-
- uses: ./.github/workflows/cmake-test-on.yml
104-
with:
105-
os: ${{ matrix.os }}
106-
os_version: ${{ matrix.os_version }}
107-
compiler: ${{ matrix.compiler }}
108-
triplet: ${{ matrix.target-cpu }}-${{ matrix.target-os }}
109-
variant: ${{ matrix.variant }}
110-
111109
- name: Locate binary
112110
id: locate
113111
run: |
@@ -159,6 +157,13 @@ jobs:
159157

160158

161159
cmake-test-windows:
160+
uses: ./.github/workflows/cmake-test-on.yml
161+
with:
162+
os: ${{ matrix.os }}
163+
os_version: ${{ matrix.os_version }}
164+
compiler: ${{ matrix.compiler }}
165+
triplet: ${{ matrix.target-cpu }}-${{ matrix.target-os }}
166+
variant: ${{ matrix.variant }}
162167
strategy:
163168
fail-fast: false
164169
matrix:
@@ -174,14 +179,6 @@ jobs:
174179
env:
175180
OUTPUT_BINARY: firestarr-${{ matrix.os }}-${{ matrix.target-cpu}}-${{ matrix.target-compiler }}-${{ matrix.variant }}
176181
steps:
177-
- uses: ./.github/workflows/cmake-test-on.yml
178-
with:
179-
os: ${{ matrix.os }}
180-
os_version: ${{ matrix.os_version }}
181-
compiler: ${{ matrix.compiler }}
182-
triplet: ${{ matrix.target-cpu }}-${{ matrix.target-os }}
183-
variant: ${{ matrix.variant }}
184-
185182
- name: Locate binary
186183
id: locate
187184
run: |

0 commit comments

Comments
 (0)