Skip to content

Commit 3197e2c

Browse files
authored
Merge pull request #93 from libvmi/ci/fix_yum_update_yes
Fix CI
2 parents ae859f9 + 3d90fb6 commit 3197e2c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/actions/libvmi-setup/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424
if [ "${{ env.OS_TYPE }}" = "Ubuntu" ]; then
2525
sudo apt-get update && sudo apt-get install -qq cmake flex bison libglib2.0-dev libvirt-dev libjson-c-dev libyajl-dev
2626
elif [ "${{ env.OS_TYPE }}" = "CentOS" ]; then
27-
yum update && yum install -y cmake flex bison glib2-devel libvirt-devel json-c-devel yajl-devel
27+
yum update -y && yum install -y cmake flex bison glib2-devel libvirt-devel json-c-devel yajl-devel
2828
else
2929
echo "Unknown OS"
3030
fi
@@ -37,13 +37,13 @@ runs:
3737
yum install -y python3-devel iasl libuuid-devel ncurses-devel pixman-devel yajl-devel ninja-build
3838
git clone --depth 1 https://github.com/xen-project/xen.git -b RELEASE-4.18.0
3939
cd xen
40-
./configure --disable-docs --disable-stubdom
40+
./configure --disable-docs --disable-stubdom --disable-seabios
4141
make -j $(nproc)
4242
make install
4343
fi
4444
4545
- name: clone libvmi
46-
uses: actions/checkout@v2
46+
uses: actions/checkout@v4
4747
with:
4848
repository: libvmi/libvmi
4949
path: libvmi

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717

1818
- name: Set up Python 3.7 🐍
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: '3.7'
2222

@@ -41,7 +41,7 @@ jobs:
4141
uses: ./python-libvmi/.github/actions/libvmi-setup
4242

4343
- name: Set up Python 🐍
44-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
4545
with:
4646
python-version: ${{ matrix.python }}
4747

@@ -61,7 +61,7 @@ jobs:
6161
working-directory: python-libvmi
6262

6363
- name: upload build artifact
64-
uses: actions/upload-artifact@v2
64+
uses: actions/upload-artifact@v4
6565
with:
6666
name: ${{ matrix.python }}
6767
path: "python-libvmi/dist/*.whl"
@@ -76,7 +76,7 @@ jobs:
7676
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
7777

7878
steps:
79-
- uses: actions/checkout@v2
79+
- uses: actions/checkout@v4
8080
with:
8181
path: python-libvmi
8282

@@ -85,7 +85,7 @@ jobs:
8585

8686
# download artifact in current directory
8787
- name: download build artifact
88-
uses: actions/download-artifact@v3
88+
uses: actions/download-artifact@v4
8989
with:
9090
name: ${{ matrix.python }}
9191

0 commit comments

Comments
 (0)