File tree Expand file tree Collapse file tree 4 files changed +28
-4
lines changed Expand file tree Collapse file tree 4 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 26
26
override : true
27
27
components : rustfmt, clippy
28
28
29
+ - name : Run cargo update for ndarray 0.15
30
+ uses : actions-rs/cargo@v1
31
+ with :
32
+ command : update
33
+ args : --package ndarray:0.16.1 --precise 0.15.6
34
+
29
35
- name : Run cargo fmt
30
36
uses : actions-rs/cargo@v1
31
37
with :
Original file line number Diff line number Diff line change 46
46
python -m pip install --upgrade pip
47
47
pip install maturin numpy pytest poetry
48
48
49
+ - name : Run cargo update for ndarray 0.15
50
+ uses : actions-rs/cargo@v1
51
+ with :
52
+ command : update
53
+ args : --package ndarray:0.16.1 --precise 0.15.6
54
+
49
55
- name : Test Python
50
56
run : |
51
57
poetry install
Original file line number Diff line number Diff line change 28
28
uses : PyO3/maturin-action@v1
29
29
with :
30
30
target : ${{ matrix.target }}
31
- args : --release --out dist --find-interpreter
31
+ args : --release --out dist --find-interpreter -- --package ndarray:0.16.1 --precise 0.15.6
32
32
sccache : ' true'
33
33
manylinux : auto
34
34
- name : Upload wheels
52
52
uses : PyO3/maturin-action@v1
53
53
with :
54
54
target : ${{ matrix.target }}
55
- args : --release --out dist --find-interpreter
55
+ args : --release --out dist --find-interpreter -- --package ndarray:0.16.1 --precise 0.15.6
56
56
sccache : ' true'
57
57
- name : Upload wheels
58
58
uses : actions/upload-artifact@v3
74
74
uses : PyO3/maturin-action@v1
75
75
with :
76
76
target : ${{ matrix.target }}
77
- args : --release --out dist --find-interpreter
77
+ args : --release --out dist --find-interpreter -- --package ndarray:0.16.1 --precise 0.15.6
78
78
sccache : ' true'
79
79
- name : Upload wheels
80
80
uses : actions/upload-artifact@v3
90
90
uses : PyO3/maturin-action@v1
91
91
with :
92
92
command : build
93
- args : --sdist --out dist --release
93
+ args : --sdist --out dist --release -- --package ndarray:0.16.1 --precise 0.15.6
94
94
- name : Upload sdist
95
95
uses : actions/upload-artifact@v3
96
96
with :
Original file line number Diff line number Diff line change 41
41
- name : Log active toolchain
42
42
run : rustup show
43
43
44
+ - name : Run cargo update for ndarray 0.15
45
+ uses : actions-rs/cargo@v1
46
+ with :
47
+ command : update
48
+ args : --package ndarray:0.16.1 --precise 0.15.6
49
+
44
50
- name : Run cargo test in release mode
45
51
uses : actions-rs/cargo@v1
46
52
with :
72
78
- name : Log active toolchain
73
79
run : rustup show
74
80
81
+ - name : Run cargo update for ndarray 0.15
82
+ uses : actions-rs/cargo@v1
83
+ with :
84
+ command : update
85
+ args : --package ndarray:0.16.1 --precise 0.15.6
86
+
75
87
- name : Run cargo test in release mode
76
88
uses : actions-rs/cargo@v1
77
89
with :
You can’t perform that action at this time.
0 commit comments