Skip to content

Commit c449d22

Browse files
committed
github: macos clang diag
1 parent 5222a80 commit c449d22

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,6 @@ jobs:
117117
- jobname: osx-clang
118118
cc: clang
119119
pool: macos-14
120-
- jobname: osx-reftable
121-
cc: clang
122-
pool: macos-14
123-
- jobname: osx-gcc
124-
cc: gcc-13
125-
pool: macos-14
126-
- jobname: osx-meson
127-
cc: clang
128-
pool: macos-14
129120
env:
130121
CC: ${{matrix.vector.cc}}
131122
CC_PACKAGE: ${{matrix.vector.cc_package}}
@@ -136,13 +127,6 @@ jobs:
136127
steps:
137128
- uses: actions/checkout@v5
138129
- run: ci/install-dependencies.sh
139-
- run: ci/run-build-and-tests.sh
140-
- name: print test failures
141-
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
142-
run: ci/print-test-failures.sh
143-
- name: Upload failed tests' directories
144-
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
145-
uses: actions/upload-artifact@v5
146-
with:
147-
name: failed-tests-${{matrix.vector.jobname}}
148-
path: ${{env.FAILED_TEST_ARTIFACTS}}
130+
- run: (echo "#include <stdio.h>"; echo __MAC_OS_X_VERSION_MIN_REQUIRED) | clang -E - | tail -1
131+
- run: (echo "#include <stdio.h>"; echo __MAC_OS_X_VERSION_MIN_REQUIRED) | /usr/bin/clang -E - | tail -1
132+
- run: (echo "#include <stdio.h>"; echo __MAC_OS_X_VERSION_MIN_REQUIRED) | clang -mmacos-version-min=14 -E - | tail -1

0 commit comments

Comments
 (0)