forked from AccessKit/accesskit
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 977 Bytes
/
weekly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Weekly
on:
# Run every Sunday at midnight.
schedule:
- cron: 0 0 * * 0
# Allow running manually.
workflow_dispatch:
env:
# Force colorful output, even though we're running in Github Actions.
CARGO_TERM_COLOR: always
jobs:
test-windows-rs-versions:
name: Test with windows-rs ${{ matrix.windows-rs }}
runs-on: windows-2019
strategy:
# One version failing should not cancel another.
fail-fast: false
matrix:
windows-rs: [0.57.0, 0.56.0, 0.54.0]
steps:
- name: Checkout repository
uses: actions/checkout@v4
# TODO: Consider checking out MSRV
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Pin windows-rs version to ${{ matrix.windows-rs }}
run: git apply platforms/windows/${{ matrix.windows-rs }}.patch
# TODO: Cache files using Swatinem/rust-cache@v2
- name: Test accesskit_windows
run: cargo test -p accesskit_windows