Skip to content

Commit 182a757

Browse files
committed
Separated CI of rust into test and build.
1 parent 90f20b9 commit 182a757

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release-rust.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,20 @@ jobs:
3535
- name: Install MetaCall Windows
3636
if: matrix.os == 'windows-latest'
3737
run: powershell -NoProfile -ExecutionPolicy Unrestricted -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; &([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/metacall/install/master/install.ps1')))"
38+
3839
- name: Install Rust
3940
uses: actions-rs/toolchain@v1
4041
with:
4142
toolchain: stable
4243
override: true
43-
- name: Build and Test the Rust Port
44+
45+
- name: Build Test the Rust Port
4446
working-directory: source/ports/rs_port
45-
run: |
46-
cargo build --verbose
47-
cargo test --verbose
47+
run: cargo build --verbose
48+
49+
- name: Test the Rust Port
50+
working-directory: source/ports/rs_port
51+
run: cargo test --verbose
4852

4953
release:
5054
name: Release Rust Port

0 commit comments

Comments
 (0)