File tree 6 files changed +2391
-31
lines changed
6 files changed +2391
-31
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
-
35
29
- name : Run cargo fmt
36
30
uses : actions-rs/cargo@v1
37
31
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
-
55
49
- name : Test Python
56
50
run : |
57
51
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 -- --package ndarray:0.16.1 --precise 0.15.6
31
+ args : --release --out dist --find-interpreter
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 -- --package ndarray:0.16.1 --precise 0.15.6
55
+ args : --release --out dist --find-interpreter
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 -- --package ndarray:0.16.1 --precise 0.15.6
77
+ args : --release --out dist --find-interpreter
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 -- --package ndarray:0.16.1 --precise 0.15.6
93
+ args : --sdist --out dist --release
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
-
50
44
- name : Run cargo test in release mode
51
45
uses : actions-rs/cargo@v1
52
46
with :
78
72
- name : Log active toolchain
79
73
run : rustup show
80
74
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
-
87
75
- name : Run cargo test in release mode
88
76
uses : actions-rs/cargo@v1
89
77
with :
Original file line number Diff line number Diff line change 2
2
# will have compiled files and executables
3
3
** /target /
4
4
5
- # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
6
- # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
7
- Cargo.lock
5
+ # See https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html
6
+ # Cargo.lock
8
7
9
8
# These are backup files generated by rustfmt
10
9
** /* .rs.bk
You can’t perform that action at this time.
0 commit comments