[1/2] ci: sort packages

Message ID 20221215091947.167691-1-david.marchand@redhat.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series [1/2] ci: sort packages |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

David Marchand Dec. 15, 2022, 9:19 a.m. UTC
  This list is hard to read.
Updating it has been done in an inconsistent way: container based and vm
based builds do not have the same coverage.

Prefer alphabetical order.

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
Note: I will likely squash this patch with the second one, but it is
easier to review in this form.

---
 .github/workflows/build.yml | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
  

Patch

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6bad94098e..de9a28608c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -93,14 +93,14 @@  jobs:
     - name: Update APT cache
       run: sudo apt update || true
     - name: Install packages
-      run: sudo apt install -y ccache libnuma-dev python3-setuptools
-        python3-wheel python3-pip python3-pyelftools ninja-build libbsd-dev
-        libpcap-dev libibverbs-dev libcrypto++-dev libfdt-dev libjansson-dev
-        libarchive-dev
+      run: sudo apt install -y ccache libarchive-dev libbsd-dev libcrypto++-dev
+        libfdt-dev libibverbs-dev libjansson-dev libnuma-dev libpcap-dev
+        ninja-build python3-pip python3-pyelftools python3-setuptools
+        python3-wheel
     - name: Install libabigail build dependencies if no cache is available
       if: env.ABI_CHECKS == 'true' && steps.libabigail-cache.outputs.cache-hit != 'true'
-      run: sudo apt install -y autoconf automake libtool pkg-config libxml2-dev
-          libdw-dev
+      run: sudo apt install -y autoconf automake libdw-dev libtool libxml2-dev
+        pkg-config
     - name: Install i386 cross compiling packages
       if: env.BUILD_32BIT == 'true'
       run: sudo apt install -y gcc-multilib g++-multilib
@@ -174,10 +174,10 @@  jobs:
       run: docker exec -i dpdk dnf update -y
     - name: Install packages
       if: steps.image_cache.outputs.cache-hit != 'true'
-      run: docker exec -i dpdk dnf install -y ccache numactl-devel
-        python3-setuptools python3-wheel python3-pip python3-pyelftools
-        ninja-build libatomic libbpf-devel libfdt-devel libpcap-devel
-        openssl-devel rdma-core-devel zlib-devel
+      run: docker exec -i dpdk dnf install -y ccache libatomic libbpf-devel
+        libfdt-devel libpcap-devel ninja-build numactl-devel openssl-devel
+        python3-pip python3-pyelftools python3-setuptools python3-wheel
+        rdma-core-devel zlib-devel
     - name: Save image in cache
       if: steps.image_cache.outputs.cache-hit != 'true'
       run: |
@@ -248,10 +248,10 @@  jobs:
     - name: Update
       run: docker exec -i dpdk dnf update -y || true
     - name: Install packages
-      run: docker exec -i dpdk dnf install -y ccache numactl-devel
-        python3-setuptools python3-wheel python3-pip python3-pyelftools
-        ninja-build libatomic libbpf-devel libfdt-devel libpcap-devel
-        openssl-devel rdma-core-devel zlib-devel ${{ matrix.config.compiler }}
+      run: docker exec -i dpdk dnf install -y ccache libatomic libbpf-devel
+        libfdt-devel libpcap-devel ninja-build numactl-devel openssl-devel
+        python3-pip python3-pyelftools python3-setuptools python3-wheel
+        rdma-core-devel zlib-devel ${{ matrix.config.compiler }}
     - name: Run setup
       run: docker exec -i dpdk .ci/linux-setup.sh
     - name: Build