Skip to content

Commit

Permalink
ci: Update apt cache before installing gcc-multilib.
Browse files Browse the repository at this point in the history
Most of the packages are pre-installed in the container image we're
using.  The only exception is gcc-multilib.  Given that the container
images are pre-built (weekly), there's a window of up to a week in which
CI jobs might not be able to install gcc-multilib, e.g.:
https://github.com/dceara/ovn/actions/runs/6428804529/job/17456662002#step:8:129

To avoid that, update cache before installing gcc-multilib.

Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Acked-by: Ales Musil <amusil@redhat.com>
  • Loading branch information
dceara committed Oct 6, 2023
1 parent cbe3594 commit c48b198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/linux-build.sh
Expand Up @@ -80,7 +80,7 @@ function configure_gcc()
# We should install gcc-multilib for x86 build, we cannot
# do it directly because gcc-multilib is not available
# for arm64
sudo apt install -y gcc-multilib
sudo apt update && sudo apt install -y gcc-multilib
fi
fi
}
Expand Down

0 comments on commit c48b198

Please sign in to comment.