From 7b7d28f3d10393dbd579efcc1a40365904bf33eb Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Mon, 28 Oct 2024 15:43:36 +0100 Subject: [PATCH 1/3] ci: confirm yum update --- .github/actions/libvmi-setup/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/libvmi-setup/action.yml b/.github/actions/libvmi-setup/action.yml index 67e6148..49fe806 100644 --- a/.github/actions/libvmi-setup/action.yml +++ b/.github/actions/libvmi-setup/action.yml @@ -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 From ee40deebbf41ddb28ecdf9791a31106392a6573a Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Mon, 28 Oct 2024 15:46:38 +0100 Subject: [PATCH 2/3] ci: upgrade deprecated actions --- .github/actions/libvmi-setup/action.yml | 2 +- .github/workflows/ci.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/libvmi-setup/action.yml b/.github/actions/libvmi-setup/action.yml index 49fe806..d635e98 100644 --- a/.github/actions/libvmi-setup/action.yml +++ b/.github/actions/libvmi-setup/action.yml @@ -43,7 +43,7 @@ runs: fi - name: clone libvmi - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: libvmi/libvmi path: libvmi diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2eae3ba..88709ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' @@ -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 }} @@ -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" @@ -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 @@ -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 }} From 3d90fb64f3d088ea4018a287f0ec6924596c58c4 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Tue, 29 Oct 2024 12:26:21 +0100 Subject: [PATCH 3/3] ci: disable seabios build for Xen custom git-checkout script fail to clone seabios --- .github/actions/libvmi-setup/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/libvmi-setup/action.yml b/.github/actions/libvmi-setup/action.yml index d635e98..afe4635 100644 --- a/.github/actions/libvmi-setup/action.yml +++ b/.github/actions/libvmi-setup/action.yml @@ -37,7 +37,7 @@ 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