File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Rust
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+
12
+ jobs :
13
+ extrae-rs-tests :
14
+ name : Run extrae-rs tests
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+ - name : Install Rust
20
+ uses : actions-rs/toolchain@v1
21
+ with :
22
+ toolchain : stable
23
+
24
+ - name : Run tests
25
+ run : cargo test --features profiling -- --nocapture
26
+
27
+ extrae-rs-hwcounters :
28
+ name : Run extrae-rs tests
29
+ runs-on : ubuntu-latest
30
+
31
+ steps :
32
+ - uses : actions/checkout@v4
33
+ - name : Install Rust
34
+ uses : actions-rs/toolchain@v1
35
+ with :
36
+ toolchain : stable
37
+
38
+ - name : Build everything
39
+ run : cargo build --features profiling
40
+
41
+ - name : Enable perf permissions
42
+ run : sudo sysctl -w kernel.perf_event_paranoid=1
43
+
44
+ - name : Run test threads
45
+ env :
46
+ EXTRAE_counters : " cpu-migrations"
47
+ run : ./target/debug/program_threads
You can’t perform that action at this time.
0 commit comments