Skip to content

Commit ae94624

Browse files
committed
chore(*): update github workflow
1 parent a60181a commit ae94624

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/ci-macos-local.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
build_type: [ Release ]
15-
os: [macos-12]
15+
os: [macos-latest]
1616
compiler:
1717
- cc: cc
1818
cxx: c++
@@ -32,6 +32,10 @@ jobs:
3232
with:
3333
fetch-depth: 0
3434

35+
- uses: actions/setup-python@v5
36+
with:
37+
python-version: '3.13'
38+
3539
- name: Install llvm@17
3640
run: |
3741
brew install llvm@17

.github/workflows/ci-macos.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
build_type: [ Release ]
19-
os: [macos-12]
19+
os: [macos-13, macos-14, macos-15]
2020
compiler:
2121
- cc: cc
2222
cxx: c++
@@ -34,6 +34,10 @@ jobs:
3434
steps:
3535
- uses: actions/checkout@v3
3636

37+
- uses: actions/setup-python@v5
38+
with:
39+
python-version: '3.13'
40+
3741
- name: Install conan
3842
run: pip3 install conan
3943

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ Note that cppsafe will detect system includes via `c++`, you can override it via
7070
CXX=/opt/homebrew/opt/llvm/bin/clang cppsafe example.cpp -- -std=c++20
7171
```
7272

73+
> Note: cppship should be used with std17 or above, since cpp17 has changed the rule for temporaries.
74+
7375
### With compile\_commands.json
7476
Generally, you should use cppsafe with compile\_commands.json.
7577

0 commit comments

Comments
 (0)