File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 76
76
crate-name : " prs-rs-cli"
77
77
upload-artifacts : false
78
78
79
+ test-build-without-native-host-tools :
80
+ runs-on : ubuntu-latest
81
+ steps :
82
+ - name : Checkout Test Repository
83
+ uses : actions/checkout@v4
84
+ with :
85
+ repository : Sewer56/prs-rs
86
+ ref : 149060527e685360687d7332742ac016b39af8a7
87
+ - name : Test Android Armv7 Build
88
+ uses : Reloaded-Project/devops-rust-lightweight-binary@v1-test
89
+ with :
90
+ rust-project-path : tools/cli
91
+ crate-name : prs-rs-cli
92
+ target : armv7-linux-androideabi
93
+ use-cross : true
94
+ upload-artifacts : false
95
+
79
96
test-library-build :
80
97
strategy :
81
98
matrix :
Original file line number Diff line number Diff line change @@ -176,7 +176,10 @@ runs:
176
176
run : |
177
177
rustup target add ${{ inputs.target }}
178
178
rustup component add rust-src --toolchain nightly
179
- rustup toolchain install nightly-${{ inputs.target }} --force-non-host
179
+ if [ "${{ inputs.use-cross }}" != "true" ]; then
180
+ # Install native toolchain to build with, otherwise it's provided by cross.
181
+ rustup toolchain install nightly-${{ inputs.target }} --force-non-host
182
+ fi
180
183
181
184
# Install cross-rs if needed
182
185
if [ "${{ inputs.use-cross }}" == "true" ]; then
You can’t perform that action at this time.
0 commit comments