-
Notifications
You must be signed in to change notification settings - Fork 73
48 lines (42 loc) · 1.18 KB
/
rust-windows.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
38
39
40
41
42
43
44
45
46
47
48
name: Windows
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
concurrency:
group: ci-windows-tests-${{ github.ref }}-1
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5.4.0
with:
python-version: '3.12'
- name: Update Rust
run: rustup update
# - name: Setup Rust-cache
# uses: Swatinem/rust-cache@v2
# with:
# key: qsv-wincache
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: make empty DLLs directory to prevent spurious python warning
run: |
mkdir DLLs
- name: Run tests
env:
RUSTFLAGS: -C target-feature=+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+avx2,+fma,+bmi1,+bmi2,+lzcnt,+pclmulqdq
run: cargo test --verbose --locked --features=apply,fetch,foreach,geocode,luau,python,polars,feature_capable,ui