Skip to content

Commit

Permalink
Change windows from test to build only (MystenLabs#4849)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind authored Sep 28, 2022
1 parent 1fc280a commit 7d7b21f
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
matrix:
os:
- [ubuntu-ghcloud]
- [windows-ghcloud]
fail-fast: false
steps:
- uses: actions/checkout@v3
Expand All @@ -82,6 +81,28 @@ jobs:
- run: scripts/changed-files.sh
shell: bash

windows-build:
needs: diff
if: needs.diff.outputs.isRust == 'true'
timeout-minutes: 45
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- [windows-ghcloud]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
- uses: taiki-e/install-action@nextest
- name: cargo build
run: |
cargo build --all-features
# Ensure there are no uncommitted changes in the repo after running tests
- run: scripts/changed-files.sh
shell: bash


simtest:
needs: diff
if: needs.diff.outputs.isRust == 'true'
Expand Down

0 comments on commit 7d7b21f

Please sign in to comment.