team-ljyzipelo

공개
44줄1.4 KB
1name: Manual Windows verification
2
3on:
4 workflow_dispatch:
5
6permissions:
7 contents: read
8
9concurrency:
10 group: rust-${{ github.workflow }}-${{ github.ref }}
11 cancel-in-progress: true
12
13jobs:
14 rust:
15 name: Windows build and tests
16 runs-on: windows-latest
17 timeout-minutes: 45
18 env:
19 CARGO_TERM_COLOR: always
20 CARGO_BUILD_JOBS: 1
21 CARGO_TARGET_DIR: ${{ github.workspace }}/tests/ci/target
22 RUST_BACKTRACE: 1
23 steps:
24 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
25 env:
26 GIT_CONFIG_COUNT: 1
27 GIT_CONFIG_KEY_0: core.autocrlf
28 GIT_CONFIG_VALUE_0: false
29 with:
30 persist-credentials: false
31 - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1
32 with:
33 python-version: '3.13'
34 - name: Install Rust
35 run: rustup toolchain install 1.99.1 --profile minimal --no-self-update
36 - name: Check CI runner
37 run: python -m unittest discover -s tests/ci -p 'test_*.py' -v
38 - name: Build every Rust crate and test harness
39 timeout-minutes: 20
40 run: python tests/ci/run_rust.py build
41 - name: Run Rust tests
42 if: ${{ !cancelled() }}
43 timeout-minutes: 20
44 run: python tests/ci/run_rust.py test