6
6
jobs :
7
7
build-default :
8
8
docker :
9
- - image : cimg/rust:1.70 .0
9
+ - image : cimg/rust:1.75 .0
10
10
steps :
11
11
- checkout
12
- - run :
13
- name : Install libclang for bindgen
14
- command : |
15
- sudo apt-get update
16
- sudo apt-get install libclang-dev clang
17
12
- run :
18
13
name : Version information
19
14
command : rustc --version; cargo --version; rustup --version
29
24
- run :
30
25
name : Run all tests
31
26
command : cargo test --all
32
- - run :
33
- name : Check bindgen
34
- command : |
35
- cargo install bindgen-cli
36
- scripts/update-bindgen.sh
37
- git diff --exit-code || true
38
27
- run :
39
28
name : Check Formatting
40
29
command : |
@@ -48,48 +37,11 @@ jobs:
48
37
- target/debug/build
49
38
- target/debug/deps
50
39
key : cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
51
- build-no-oslib :
52
- docker :
53
- - image : cimg/rust:1.70.0
54
- steps :
55
- - checkout
56
- - run :
57
- name : Install libclang for bindgen
58
- command : |
59
- sudo apt-get update
60
- sudo apt-get install libclang-dev clang
61
- - run :
62
- name : Version information
63
- command : rustc --version; cargo --version; rustup --version
64
- - run :
65
- name : Calculate dependencies
66
- command : cargo generate-lockfile
67
- - restore_cache :
68
- keys :
69
- - cargo-cache-no-oslib-{{ arch }}-{{ checksum "Cargo.lock" }}
70
- - run :
71
- name : Build all targets
72
- command : cargo build --features=lua-no-oslib --all --all-targets
73
- - run :
74
- name : Run all tests
75
- command : cargo test --features=lua-no-oslib --all
76
- - save_cache :
77
- paths :
78
- - /usr/local/cargo/registry
79
- - target/debug/.fingerprint
80
- - target/debug/build
81
- - target/debug/deps
82
- key : cargo-cache-no-oslib-{{ arch }}-{{ checksum "Cargo.lock" }}
83
40
build-lua53 :
84
41
docker :
85
- - image : cimg/rust:1.70 .0
42
+ - image : cimg/rust:1.75 .0
86
43
steps :
87
44
- checkout
88
- - run :
89
- name : Install libclang for bindgen
90
- command : |
91
- sudo apt-get update
92
- sudo apt-get install libclang-dev clang
93
45
- run :
94
46
name : Version information
95
47
command : rustc --version; cargo --version; rustup --version
@@ -105,12 +57,6 @@ jobs:
105
57
- run :
106
58
name : Run all tests
107
59
command : cargo test --no-default-features --features=builtin-lua53 --all
108
- - run :
109
- name : Check bindgen
110
- command : |
111
- cargo install bindgen-cli
112
- scripts/update-bindgen.sh
113
- git diff --exit-code || true
114
60
- run :
115
61
name : Check Formatting
116
62
command : |
@@ -126,14 +72,9 @@ jobs:
126
72
key : cargo-cache-lua53-{{ arch }}-{{ checksum "Cargo.lock" }}
127
73
build-lua51 :
128
74
docker :
129
- - image : cimg/rust:1.70 .0
75
+ - image : cimg/rust:1.75 .0
130
76
steps :
131
77
- checkout
132
- - run :
133
- name : Install libclang for bindgen
134
- command : |
135
- sudo apt-get update
136
- sudo apt-get install libclang-dev clang
137
78
- run :
138
79
name : Install Lua
139
80
command : |
@@ -155,12 +96,6 @@ jobs:
155
96
- run :
156
97
name : Run all tests
157
98
command : cargo test --no-default-features --features=system-lua51 --all
158
- - run :
159
- name : Check bindgen
160
- command : |
161
- cargo install bindgen-cli
162
- scripts/update-bindgen.sh
163
- git diff --exit-code || true
164
99
- run :
165
100
name : Check Formatting
166
101
command : |
@@ -176,14 +111,9 @@ jobs:
176
111
key : cargo-cache-lua51-{{ arch }}-{{ checksum "Cargo.lock" }}
177
112
build-luajit :
178
113
docker :
179
- - image : cimg/rust:1.70 .0
114
+ - image : cimg/rust:1.75 .0
180
115
steps :
181
116
- checkout
182
- - run :
183
- name : Install libclang for bindgen
184
- command : |
185
- sudo apt-get update
186
- sudo apt-get install libclang-dev clang
187
117
- run :
188
118
name : Install Lua
189
119
command : |
@@ -257,4 +187,3 @@ workflows:
257
187
- " build-lua51"
258
188
- " build-luajit"
259
189
- " build-windows"
260
- - " build-no-oslib"
0 commit comments