Commit ce193c4 1 parent 943f805 commit ce193c4 Copy full SHA for ce193c4
File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,11 @@ jobs:
105
105
# cross doesn't load .cargo/config.toml, see https://github.com/cross-rs/cross/issues/562
106
106
$HOME/.cargo/bin/cross $COMMAND --locked --all-features $SCOPE --target ${{ matrix.environments.target }}
107
107
else
108
- cargo $EXTRA_ARGS $COMMAND $SCOPE --locked --target ${{ matrix.environments.target }}
108
+ if [[ "${{ matrix.environments.target }}" == "x86_64-unknown-linux-gnu" ]] ; then
109
+ cargo $EXTRA_ARGS $COMMAND $SCOPE --locked
110
+ else
111
+ cargo $EXTRA_ARGS $COMMAND $SCOPE --locked --target ${{ matrix.environments.target }}
112
+ fi
109
113
fi
110
114
exitcode="$?"
111
115
if [[ "${{ matrix.environments.optional }}" == "true" && "$exitcode" != "0" ]] ; then
@@ -180,7 +184,7 @@ jobs:
180
184
181
185
- name : Build Amaru
182
186
run : |
183
- cargo test --no-run -p amaru --target x86_64-unknown-linux-gnu
187
+ cargo test --no-run -p amaru
184
188
185
189
- name : Cache Amaru's ledger.db
186
190
id : cache-ledger-db
You can’t perform that action at this time.
0 commit comments