Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #93

Merged
merged 3 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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