File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Linux Tests
2+
3+ on :
4+ push :
5+ branches : [ main, master ]
6+ pull_request :
7+ branches : [ main, master ]
8+
9+ jobs :
10+ build-and-test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v3
15+
16+ - name : Install dependencies
17+ run : |
18+ sudo apt-get update
19+ sudo apt-get install -y build-essential cmake
20+ pip install matplotlib numpy pandas py-cpuinfo
21+
22+ - name : Run tests and update benchmarks
23+ run : |
24+ chmod +x ./run_tests.sh
25+ ./run_tests.sh
26+
27+ - name : Commit changes
28+ uses : stefanzweifel/git-auto-commit-action@v4
29+ with :
30+ commit_message : " Update benchmark results from GitHub Actions (Linux)"
31+ file_pattern : benchmark_results_linux_gcc/* README.md test_results.txt
Original file line number Diff line number Diff line change 1+ name : Windows Tests
2+
3+ on :
4+ push :
5+ branches : [ main, master ]
6+ pull_request :
7+ branches : [ main, master ]
8+
9+ jobs :
10+ build-and-test :
11+ runs-on : windows-latest
12+
13+ steps :
14+ - uses : actions/checkout@v3
15+
16+ - name : Setup MSBuild
17+ uses : microsoft/setup-msbuild@v1.1
18+
19+ - name : Setup Python
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : ' 3.x'
23+
24+ - name : Install Python dependencies
25+ run : pip install matplotlib numpy pandas py-cpuinfo
26+
27+ - name : Run tests and update benchmarks
28+ run : .\run_tests.bat
29+
30+ - name : Commit changes
31+ uses : stefanzweifel/git-auto-commit-action@v4
32+ with :
33+ commit_message : " Update benchmark results from GitHub Actions (Windows)"
34+ file_pattern : benchmark_results_windows_msvc/* README.md test_results.txt
You can’t perform that action at this time.
0 commit comments