Skip to content

Commit

Permalink
Merge pull request #93 from libvmi/ci/fix_yum_update_yes
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
Wenzel authored Oct 30, 2024
2 parents ae859f9 + 3d90fb6 commit 3197e2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/actions/libvmi-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
if [ "${{ env.OS_TYPE }}" = "Ubuntu" ]; then
sudo apt-get update && sudo apt-get install -qq cmake flex bison libglib2.0-dev libvirt-dev libjson-c-dev libyajl-dev
elif [ "${{ env.OS_TYPE }}" = "CentOS" ]; then
yum update && yum install -y cmake flex bison glib2-devel libvirt-devel json-c-devel yajl-devel
yum update -y && yum install -y cmake flex bison glib2-devel libvirt-devel json-c-devel yajl-devel
else
echo "Unknown OS"
fi
Expand All @@ -37,13 +37,13 @@ runs:
yum install -y python3-devel iasl libuuid-devel ncurses-devel pixman-devel yajl-devel ninja-build
git clone --depth 1 https://github.com/xen-project/xen.git -b RELEASE-4.18.0
cd xen
./configure --disable-docs --disable-stubdom
./configure --disable-docs --disable-stubdom --disable-seabios
make -j $(nproc)
make install
fi
- name: clone libvmi
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: libvmi/libvmi
path: libvmi
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python 3.7 🐍
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.7'

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

- name: Set up Python 🐍
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

Expand All @@ -61,7 +61,7 @@ jobs:
working-directory: python-libvmi

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

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: python-libvmi

Expand All @@ -85,7 +85,7 @@ jobs:

# download artifact in current directory
- name: download build artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.python }}

Expand Down

0 comments on commit 3197e2c

Please sign in to comment.