File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 13
13
qemu-build :
14
14
name : Qemu
15
15
runs-on : ubuntu-22.04
16
-
16
+ strategy :
17
+ matrix :
18
+ config : ['default',
19
+ ' clx_2_var1_hmat' ,
20
+ ' clx_2_var2_hmat' ,
21
+ ' clx_2_var3_hmat' ,
22
+ ' clx_4_var1_hmat' ,
23
+ ' clx_4_var2_hmat' ]
24
+ # TODO: Add following
25
+ # 'clx_2_var1'
26
+ # 'clx_2_var2'
27
+ # 'clx_2_var3'
28
+ # 'clx_4_var1'
29
+ # 'clx_4_var2'
17
30
steps :
18
31
- name : Checkout
19
32
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
72
85
run : qemu-img resize ./ubuntu-23.04-server-cloudimg-amd64.img +4G
73
86
- name : Print qemu args
74
87
run : |
75
- echo `python3 scripts/qemu/qemu_config.py scripts/qemu/configs/default .xml | sed s/''\''/'/g`
88
+ echo `python3 scripts/qemu/qemu_config.py scripts/qemu/configs/${{matrix.config}} .xml | sed s/''\''/'/g`
76
89
- name : Run qemu
77
90
run : |
78
91
sudo qemu-system-x86_64 \
81
94
-machine q35,usb=off,hmat=on \
82
95
-enable-kvm \
83
96
-net nic -net user,hostfwd=tcp::2222-:22 \
84
- $(echo `python3 scripts/qemu/qemu_config.py scripts/qemu/configs/default .xml | sed s/''\''/'/g`) \
97
+ $(echo `python3 scripts/qemu/qemu_config.py scripts/qemu/configs/${{matrix.config}} .xml | sed s/''\''/'/g`) \
85
98
-daemonize -display none
86
99
- name : Run ssh keyscan
87
100
run : |
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ cmake .. \
34
34
35
35
make -j $( nproc)
36
36
37
+ echo password | sudo sync;
38
+ echo password | sudo sh -c " /usr/bin/echo 3 > /proc/sys/vm/drop_caches"
39
+
37
40
ctest --output-on-failure
38
41
39
42
# run tests bound to a numa node
You can’t perform that action at this time.
0 commit comments