File tree 3 files changed +15
-10
lines changed
3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
19
- - uses : actions/checkout@v1
19
+ - uses : actions/checkout@v2
20
20
with :
21
21
submodules : true
22
22
23
- - uses : actions/setup-python@v1
23
+ - uses : actions/setup-python@v2
24
24
25
25
- name : Make header
26
26
run : python ./scripts/MakeSingleHeader.py CLI11.hpp
@@ -37,12 +37,12 @@ jobs:
37
37
cp build/CLI11-*-Source.* CLI11-Source
38
38
cp build/CLI11-*-Source.* .
39
39
40
- - uses : actions/upload-artifact@v1
40
+ - uses : actions/upload-artifact@v2
41
41
with :
42
42
name : CLI11.hpp
43
43
path : CLI11.hpp
44
44
45
- - uses : actions/upload-artifact@v1
45
+ - uses : actions/upload-artifact@v2
46
46
with :
47
47
name : CLI11-Source
48
48
path : CLI11-Source
Original file line number Diff line number Diff line change 27
27
submodules : true
28
28
- name : Add wget
29
29
run : apt-get update && apt-get install -y wget
30
- - name : Install Modern CMake
31
- run : wget -qO- "https:// cmake.org/files/v3.16/cmake-3.16.0-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local
30
+ - name : Setup cmake
31
+ uses : jwlawson/actions-setup- cmake@v1.3
32
32
- name : Configure
33
33
run : cmake -S . -B build -DCLI11_CUDA_TESTS=ON
34
34
- name : Build
38
38
name : CMake config check
39
39
runs-on : ubuntu-latest
40
40
steps :
41
- - uses : actions/checkout@v1
41
+ - uses : actions/checkout@v2
42
42
with :
43
43
submodules : true
44
44
- name : CMake 3.4
@@ -106,9 +106,14 @@ jobs:
106
106
with :
107
107
version : 3.16.8
108
108
if : success() || failure()
109
- - name : CMake 3.16 (full)
109
+ - name : CMake 3.17
110
110
uses : ./.github/actions/cmake_config
111
111
with :
112
112
version : 3.17.3
113
+ if : success() || failure()
114
+ - name : CMake 3.18 (full)
115
+ uses : ./.github/actions/cmake_config
116
+ with :
117
+ version : 3.18.0
113
118
options : -DCLI11_SANITIZERS=ON -DCLI11_BUILD_EXAMPLES_JSON=ON
114
119
if : success() || failure()
Original file line number Diff line number Diff line change 1
1
2
2
repos :
3
3
- repo : https://github.com/psf/black
4
- rev : 19.3b0
4
+ rev : 19.10b0
5
5
hooks :
6
6
- id : black
7
7
- repo : https://github.com/pre-commit/pre-commit-hooks
8
- rev : v2.3 .0
8
+ rev : v3.1 .0
9
9
hooks :
10
10
- id : check-added-large-files
11
11
- id : mixed-line-ending
You can’t perform that action at this time.
0 commit comments