Skip to content

Commit 214d708

Browse files
authored
Update CI runner settings (#103)
* Update CI runner settings. * Update deprecated CI Github actions, update Windows 2022 cmake version. * Fix Github workflow syntax error.
1 parent 75a8621 commit 214d708

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

.github/workflows/build_macos.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ on:
1818

1919
jobs:
2020
build-mac:
21-
name: "Macos 10.15 Xcode (Clang)"
22-
runs-on: macos-10.15
21+
name: "Macos 11.7 Xcode (Clang)"
22+
runs-on: macos-11
2323
strategy:
2424
matrix:
25-
xcode: [11.5, 12.4]
25+
xcode: [11.7, 12.4, 13.2.1]
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v2.0.0
28+
uses: actions/checkout@v3
2929
- name: Set up CMake
30-
uses: jwlawson/actions-setup-cmake@v1.9
30+
uses: jwlawson/actions-setup-cmake@v1.13
3131
with:
3232
cmake-version: '3.14.0'
3333
- name: Set up Xcode

.github/workflows/build_ubuntu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
runs-on: ubuntu-20.04
2323
strategy:
2424
matrix:
25-
gcc: [8, 9, 10, 11]
25+
gcc: [9, 10, 11]
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v2.0.0
28+
uses: actions/checkout@v3
2929
- name: Set up CMake
30-
uses: jwlawson/actions-setup-cmake@v1.9
30+
uses: jwlawson/actions-setup-cmake@v1.13
3131
with:
3232
cmake-version: '3.14.0'
3333
- name: Set up GCC

.github/workflows/build_windows.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,22 @@ jobs:
2424
matrix:
2525
config:
2626
- {
27-
name: Windows MSVC 2017,
28-
os: windows-2016
27+
name: Windows MSVC 2019,
28+
os: windows-2019,
29+
cmake: '3.14.0'
2930
}
3031
- {
31-
name: Windows MSVC 2019,
32-
os: windows-2019
32+
name: Windows MSVC 2022,
33+
os: windows-2022,
34+
cmake: '3.24.2'
3335
}
3436
steps:
3537
- name: Checkout
36-
uses: actions/checkout@v2.0.0
38+
uses: actions/checkout@v3
3739
- name: Set up CMake
38-
uses: jwlawson/actions-setup-cmake@v1.9
40+
uses: jwlawson/actions-setup-cmake@v1.13
3941
with:
40-
cmake-version: '3.14.0'
42+
cmake-version: ${{ matrix.config.cmake }}
4143
- name: Cpplint
4244
run: cmake -P cmake/cpplint.cmake
4345
- name: Configure

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
| OS (Compiler)\\LibTorch | 1.12.0 |
1414
| :--------------------- | :--------------------------------------------------------------------------------------------------- |
15-
| macOS (clang 11.0, 12.0) | [![Status](https://github.com/prabhuomkar/pytorch-cpp/actions/workflows/build_macos.yml/badge.svg?branch=master)](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-macos) |
16-
| Linux (gcc 8, 9, 10, 11) | [![Status](https://github.com/prabhuomkar/pytorch-cpp/actions/workflows/build_ubuntu.yml/badge.svg?branch=master)](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-ubuntu) |
17-
| Windows (msvc 2017, 2019) | [![Status](https://github.com/prabhuomkar/pytorch-cpp/actions/workflows/build_windows.yml/badge.svg?branch=master)](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-windows) |
15+
| macOS (clang 11, 12, 13) | [![Status](https://github.com/prabhuomkar/pytorch-cpp/actions/workflows/build_macos.yml/badge.svg?branch=master)](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-macos) |
16+
| Linux (gcc 9, 10, 11) | [![Status](https://github.com/prabhuomkar/pytorch-cpp/actions/workflows/build_ubuntu.yml/badge.svg?branch=master)](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-ubuntu) |
17+
| Windows (msvc 2019, 2022) | [![Status](https://github.com/prabhuomkar/pytorch-cpp/actions/workflows/build_windows.yml/badge.svg?branch=master)](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-windows) |
1818

1919
## Table of Contents
2020

0 commit comments

Comments
 (0)