File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ jobs:
127
127
args : -p bindingtester
128
128
129
129
- name : Run bindingtester
130
- run : scripts/run_bindingtester.sh
130
+ run : scripts/run_bindingtester.sh target/debug/bindingtester
131
131
132
132
lint :
133
133
name : Rustfmt / Clippy
@@ -174,11 +174,11 @@ jobs:
174
174
toolchain : nightly
175
175
override : true
176
176
177
- - name : Build
177
+ - name : Build bindingtester
178
178
uses : actions-rs/cargo@v1
179
179
with :
180
180
command : build
181
- args : -p bindingtester
181
+ args : -p bindingtester --target x86_64-unknown-linux-gnu
182
182
env :
183
183
CARGO_INCREMENTAL : " 0"
184
184
RUSTFLAGS : " -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
@@ -187,14 +187,14 @@ jobs:
187
187
uses : actions-rs/cargo@v1
188
188
with :
189
189
command : test
190
- args : --no-fail-fast
190
+ args : --no-fail-fast --target x86_64-unknown-linux-gnu
191
191
env :
192
192
CARGO_INCREMENTAL : " 0"
193
193
RUST_BACKTRACE : 1
194
194
RUSTFLAGS : " -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
195
195
196
196
- name : Run bindingtester
197
- run : scripts/run_bindingtester.sh
197
+ run : scripts/run_bindingtester.sh target/x86_64-unknown-linux-gnu/debug/bindingtester
198
198
199
199
- id : coverage
200
200
uses : actions-rs/grcov@v0.1
Original file line number Diff line number Diff line change @@ -39,4 +39,4 @@ fdb-6_2 = [ ]
39
39
[dependencies ]
40
40
41
41
[build-dependencies ]
42
- bindgen = " 0.53.2 "
42
+ bindgen = " 0.54.0 "
Original file line number Diff line number Diff line change 3
3
set -x
4
4
5
5
fdb_rs_dir=$( pwd)
6
-
6
+ bindingtester= " ${fdb_rs_dir :? } / $1 "
7
7
case $( uname) in
8
8
Darwin)
9
9
brew install mono
30
30
make fdb_python
31
31
32
32
# # Run the test
33
- ./bindings/bindingtester/bindingtester.py --test-name scripted ${fdb_rs_dir :? } /target/debug/ bindingtester
34
- ./bindings/bindingtester/bindingtester.py --num-ops 1000 --test-name api --api-version 610 ${fdb_rs_dir :? } /target/debug/ bindingtester
35
- ./bindings/bindingtester/bindingtester.py --num-ops 1000 --concurrency 5 --test-name api --api-version 610 ${fdb_rs_dir :? } /target/debug/ bindingtester
36
- ./bindings/bindingtester/bindingtester.py --num-ops 1000 --concurrency 5 --test-name tuple --api-version 610 ${fdb_rs_dir :? } /target/debug/ bindingtester
33
+ ./bindings/bindingtester/bindingtester.py --test-name scripted ${bindingtester}
34
+ ./bindings/bindingtester/bindingtester.py --num-ops 1000 --test-name api --api-version 610 ${bindingtester}
35
+ ./bindings/bindingtester/bindingtester.py --num-ops 1000 --concurrency 5 --test-name api --api-version 610 ${bindingtester}
36
+ ./bindings/bindingtester/bindingtester.py --num-ops 1000 --concurrency 5 --test-name tuple --api-version 610 ${bindingtester}
37
37
)
You can’t perform that action at this time.
0 commit comments