File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
examples/namespace_package/.cargo Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 96
96
python -c "from namespace_package import rust; assert rust.rust_func() == 14"
97
97
python -c "from namespace_package import python; assert python.python_func() == 15"
98
98
99
+ - name : Test sdist vendor Rust crates
100
+ shell : bash
101
+ run : |
102
+ cd examples/namespace_package
103
+ python setup.py sdist --vendor-crates
104
+ cd dist
105
+ tar -zxf namespace_package-0.1.0.tar.gz
106
+ cd namespace_package-0.1.0
107
+ cargo build --offline --target ${{ matrix.platform.rust-target }}
108
+
99
109
test-abi3 :
100
110
runs-on : ${{ matrix.os }}
101
111
strategy :
Original file line number Diff line number Diff line change
1
+ [target .x86_64-apple-darwin ]
2
+ rustflags = [
3
+ " -C" , " link-arg=-undefined" ,
4
+ " -C" , " link-arg=dynamic_lookup" ,
5
+ ]
6
+
7
+ [target .aarch64-apple-darwin ]
8
+ rustflags = [
9
+ " -C" , " link-arg=-undefined" ,
10
+ " -C" , " link-arg=dynamic_lookup" ,
11
+ ]
You can’t perform that action at this time.
0 commit comments