There was an error while loading. Please reload this page.
1 parent 21ad911 commit f7dd611Copy full SHA for f7dd611
1 file changed
.github/workflows/rust.yml
@@ -136,3 +136,24 @@ jobs:
136
with:
137
command: doc
138
args: --verbose --workspace --no-deps --document-private-items
139
+
140
+ cross-compile:
141
+ name: Cross compile
142
+ runs-on: ubuntu-latest
143
+ strategy:
144
+ matrix:
145
+ target:
146
+ - armv7-unknown-linux-gnueabihf
147
+ - powerpc64-unknown-linux-gnu
148
+ steps:
149
+ - uses: actions/checkout@v2
150
+ - uses: actions-rs/toolchain@v1
151
+ with:
152
+ toolchain: stable
153
+ target: ${{ matrix.target }}
154
+ override: true
155
+ - uses: actions-rs/cargo@v1
156
157
+ use-cross: true
158
+ command: build
159
+ args: --release --target=${{ matrix.target }}
0 commit comments