File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -112,3 +112,35 @@ jobs:
112
112
with :
113
113
name : wheels
114
114
path : dist
115
+
116
+ linux-armv6 :
117
+ runs-on : macos-latest
118
+ steps :
119
+ - uses : actions/checkout@v2
120
+ - uses : actions/setup-python@v2
121
+ with :
122
+ python-version : ${{ env.PYTHON_VERSION }}
123
+ - name : Install Rust toolchain
124
+ uses : actions-rs/toolchain@v1
125
+ with :
126
+ toolchain : stable
127
+ profile : minimal
128
+ target : arm-unknown-linux-gnueabihf
129
+ default : true
130
+ - name : install cross toolchain
131
+ run : |
132
+ brew tap messense/macos-cross-toolchains
133
+ brew install arm-unknown-linux-gnueabihf
134
+
135
+ export CC_arm_unknown_linux_gnueabihf=arm-unknown-linux-gnueabihf-gcc
136
+ export CXX_arm_unknown_linux_gnueabihf=arm-unknown-linux-gnueabihf-g++
137
+ export AR_arm_unknown_linux_gnueabihf=arm-unknown-linux-gnueabihf-ar
138
+ export CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-unknown-linux-gnueabihf-gcc
139
+
140
+ pip3 install maturin
141
+ maturin build --release --target arm-unknown-linux-gnueabihf --out dist
142
+ - name : Upload wheels
143
+ uses : actions/upload-artifact@v2
144
+ with :
145
+ name : wheels
146
+ path : dist
You can’t perform that action at this time.
0 commit comments