-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 862 Bytes
/
linux-tests.yml
File metadata and controls
38 lines (31 loc) · 862 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
name: Linux Tests
on:
push:
branches: [ main, master ]
paths:
- 'SIMD.h'
- 'tests/simd_tests.cpp'
permissions:
contents: write
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake
pip install matplotlib numpy pandas py-cpuinfo
- name: Run tests and update benchmarks
run: |
chmod +x ./run_tests.sh
./run_tests.sh
- 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 (Linux)"
file_pattern: benchmark_results_linux_gcc/*
add_options: -f