CI: remove --release from unused artifacts

This will speed up compilation in our CI.
This commit is contained in:
João Marcos Bezerra 2021-10-07 00:54:38 -03:00 committed by GitHub
parent 97825b8ad5
commit 4e382491c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,14 +24,14 @@ jobs:
with:
use-cross: true
command: build
args: --release --target=aarch64-unknown-linux-gnu
args: --target=aarch64-unknown-linux-gnu
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
use-cross: true
command: test
args: --release --target=aarch64-unknown-linux-gnu
args: --target=aarch64-unknown-linux-gnu
- name: Strip binary
run: aarch64-linux-gnu-strip target/aarch64-unknown-linux-gnu/release/ouch
@ -63,7 +63,7 @@ jobs:
with:
use-cross: true
command: build
args: --release --target=armv7-unknown-linux-gnueabihf
args: --target=armv7-unknown-linux-gnueabihf
- name: Run cargo test
uses: actions-rs/cargo@v1
@ -148,13 +148,11 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --release
- name: Strip binary
run: strip target/release/ouch
@ -262,13 +260,13 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target x86_64-pc-windows-gnu
args: --target x86_64-pc-windows-gnu
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --release --target x86_64-pc-windows-gnu
args: --target x86_64-pc-windows-gnu
# - name: Upload binary
# uses: actions/upload-artifact@v2