Skip to content

Commit a45c4eb

Browse files
committed
debug clang windows
1 parent f292a41 commit a45c4eb

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -78,27 +78,20 @@ jobs:
7878
run: cargo clean && cargo build
7979

8080
test:
81-
name: Build and test
81+
name: Test
8282
runs-on: ${{ matrix.os }}
8383
strategy:
8484
fail-fast: false
8585
matrix:
8686
os: [ubuntu-latest, macos-latest, windows-latest]
8787
php: ["8.0", "8.1", "8.2", "8.3", "8.4"]
8888
rust: [stable, nightly]
89-
clang: ["15", "17"]
9089
phpts: [ts, nts]
9190
exclude:
92-
- os: macos-latest
93-
clang: "17"
94-
- os: ubuntu-latest
95-
clang: "15"
9691
- os: macos-latest
9792
rust: nightly
9893
- os: ubuntu-latest
9994
rust: nightly
100-
- os: windows-latest
101-
clang: "15"
10295
- os: windows-latest
10396
rust: stable
10497
include:
@@ -128,28 +121,23 @@ jobs:
128121
uses: taiki-e/install-action@v2
129122
with:
130123
tool: cargo-hack
124+
# show clang version if on windows
125+
- run: clang --version
126+
if: "contains(matrix.os, 'windows')"
131127
- name: Test
132128
env:
133129
EXT_PHP_RS_TEST: ""
134130
run: cargo ci-test
135131

136132
test-link:
137-
name: Test that requires linking php library
133+
name: Test link php
138134
runs-on: ${{ matrix.os }}
139135
strategy:
140136
fail-fast: false
141137
matrix:
142138
os: [ubuntu-latest, macos-latest, windows-latest]
143139
php: ["8.2", "8.3", "8.4"]
144-
clang: ["15", "17"]
145140
phpts: [ts, nts]
146-
exclude:
147-
- os: macos-latest
148-
clang: "17"
149-
- os: ubuntu-latest
150-
clang: "15"
151-
- os: windows-latest
152-
clang: "15"
153141
env:
154142
CARGO_TERM_COLOR: always
155143
steps:
@@ -178,7 +166,7 @@ jobs:
178166
run: cargo ci-test-link
179167

180168
test-others:
181-
name: Test others crates not depen
169+
name: Test others
182170
runs-on: ${{ matrix.os }}
183171
strategy:
184172
fail-fast: false

0 commit comments

Comments
 (0)