Skip to content

Commit 97a1b21

Browse files
xudong963alamb
andauthored
add cargo check --release to ci (#1737)
* remote test * Update .github/workflows/rust.yml Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org> Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
1 parent 5124759 commit 97a1b21

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,18 @@ jobs:
5858
rustup toolchain install ${{ matrix.rust }}
5959
rustup default ${{ matrix.rust }}
6060
rustup component add rustfmt
61-
- name: Build Workspace
61+
- name: Build workspace in debug mode
6262
run: |
6363
cargo build
6464
env:
6565
CARGO_HOME: "/github/home/.cargo"
66-
CARGO_TARGET_DIR: "/github/home/target"
66+
CARGO_TARGET_DIR: "/github/home/target/debug"
67+
- name: Build workspace in release mode
68+
run: |
69+
cargo check --release
70+
env:
71+
CARGO_HOME: "/github/home/.cargo"
72+
CARGO_TARGET_DIR: "/github/home/target/release"
6773
- name: Check DataFusion Build without default features
6874
run: |
6975
cargo check --no-default-features -p datafusion

0 commit comments

Comments
 (0)