-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 924 Bytes
/
windows-tests.yml
File metadata and controls
41 lines (32 loc) · 924 Bytes
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
name: Windows Tests
on:
push:
branches: [ main, master ]
paths:
- 'SIMD.h'
- 'tests/simd_tests.cpp'
permissions:
contents: write
jobs:
build-and-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Python dependencies
run: pip install matplotlib numpy pandas py-cpuinfo
- name: Run tests and update benchmarks
run: .\run_tests.bat
- name: Pull latest changes
run: git pull
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update benchmark results from GitHub Actions (Windows)"
file_pattern: benchmark_results_windows_msvc/*
add_options: -f