6
6
7
7
jobs :
8
8
#
9
- # Verify the build and installation of SDB.
10
- #
11
- install :
12
- runs-on : ubuntu-20.04
13
- strategy :
14
- matrix :
15
- python-version : [3.8, 3.9]
16
- steps :
17
- - uses : actions/checkout@v2
18
- - uses : actions/setup-python@v1
19
- with :
20
- python-version : ${{ matrix.python-version }}
21
- - run : python3 setup.py install
22
- #
23
- # The statement below is used for debugging the Github job.
24
- #
25
- - run : python3 --version
26
- #
27
9
# Verify "pylint" runs successfully.
28
10
#
29
11
# Note, we need to have "drgn" installed in order to run "pylint".
34
16
runs-on : ubuntu-20.04
35
17
steps :
36
18
- uses : actions/checkout@v2
37
- - uses : actions/setup-python@v1
19
+ - uses : actions/setup-python@v4
38
20
with :
39
21
python-version : ' 3.8'
40
22
- run : ./.github/scripts/install-drgn.sh
@@ -55,16 +37,17 @@ jobs:
55
37
runs-on : ubuntu-20.04
56
38
strategy :
57
39
matrix :
58
- python-version : [3.8, 3.9]
40
+ python-version : [' 3.8', ' 3.9' ]
59
41
dump : [dump.201912060006.tar.lzma, dump.202303131823.tar.gz]
60
42
env :
61
43
AWS_DEFAULT_REGION : ' us-west-2'
62
44
steps :
63
45
- uses : actions/checkout@v2
64
- - uses : actions/setup-python@v1
46
+ - uses : actions/setup-python@v4
65
47
with :
66
48
python-version : ${{ matrix.python-version }}
67
49
- run : python3 -m pip install aws python-config pytest pytest-cov
50
+ - run : ./.github/scripts/install-python-dev.sh
68
51
- run : ./.github/scripts/install-libkdumpfile.sh
69
52
- run : ./.github/scripts/install-drgn.sh
70
53
- run : ./.github/scripts/download-dump-from-s3.sh ${{ matrix.dump }}
@@ -73,13 +56,57 @@ jobs:
73
56
with :
74
57
token : ${{ secrets.CODECOV_TOKEN }}
75
58
#
59
+ # Verify common linux SDB commands can run on vanilla ubuntu kernels: 20.04
60
+ #
61
+ live_ubuntu_20_04 :
62
+ runs-on : ubuntu-20.04
63
+ strategy :
64
+ matrix :
65
+ python-version : ['3.8', '3.9']
66
+ env :
67
+ AWS_DEFAULT_REGION : ' us-west-2'
68
+ steps :
69
+ - uses : actions/checkout@v2
70
+ - uses : actions/setup-python@v4
71
+ with :
72
+ python-version : ${{ matrix.python-version }}
73
+ - run : python3 -m pip install aws python-config pytest pytest-cov
74
+ - run : ./.github/scripts/install-python-dev.sh
75
+ - run : sudo ./.github/scripts/install-libkdumpfile.sh
76
+ - run : sudo ./.github/scripts/install-drgn.sh
77
+ - run : sudo ./.github/scripts/install-live-kernel-dbg.sh
78
+ - run : sudo python3 ./setup.py install
79
+ - run : sudo ./tests/scripts/test_live_kernel.sh
80
+ #
81
+ # Verify common linux SDB commands can run on vanilla ubuntu kernels: 22.04
82
+ #
83
+ live_ubuntu_22_04 :
84
+ runs-on : ubuntu-22.04
85
+ strategy :
86
+ matrix :
87
+ python-version : ['3.10' , '3.11']
88
+ env :
89
+ AWS_DEFAULT_REGION : ' us-west-2'
90
+ steps :
91
+ - uses : actions/checkout@v2
92
+ - uses : actions/setup-python@v4
93
+ with :
94
+ python-version : ${{ matrix.python-version }}
95
+ - run : python3 -m pip install aws python-config pytest pytest-cov
96
+ - run : ./.github/scripts/install-python-dev.sh
97
+ - run : sudo ./.github/scripts/install-libkdumpfile.sh
98
+ - run : sudo ./.github/scripts/install-drgn.sh
99
+ - run : sudo ./.github/scripts/install-live-kernel-dbg.sh
100
+ - run : sudo python3 ./setup.py install
101
+ - run : sudo ./tests/scripts/test_live_kernel.sh
102
+ #
76
103
# Verify "yapf" runs successfully.
77
104
#
78
105
yapf :
79
106
runs-on : ubuntu-20.04
80
107
steps :
81
108
- uses : actions/checkout@v2
82
- - uses : actions/setup-python@v1
109
+ - uses : actions/setup-python@v4
83
110
with :
84
111
python-version : ' 3.8'
85
112
- run : python3 -m pip install yapf
@@ -104,7 +131,7 @@ jobs:
104
131
runs-on : ubuntu-20.04
105
132
steps :
106
133
- uses : actions/checkout@v2
107
- - uses : actions/setup-python@v1
134
+ - uses : actions/setup-python@v4
108
135
with :
109
136
python-version : ' 3.8'
110
137
- run : ./.github/scripts/install-drgn.sh
0 commit comments