we are fine to skip some repos like languages and translations.
this drops number of repos twice
- uses: actions/checkout@v4
- name: Install apt dependencies
run: |
- sudo apt-get update
+ sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
sudo apt-get --no-install-recommends -y install \
liblua5.4-dev \
libsystemd-dev
steps:
- name: install packages
run: |
- sudo apt-get update
+ sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
sudo apt-get -yq --force-yes install \
gcc-${{ matrix.platform.arch }} \
${{ matrix.platform.libs }}
- name: Install apt dependencies
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
run: |
- sudo apt-get update
+ sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
sudo apt-get --no-install-recommends -y install \
${{ contains(matrix.FLAGS, 'USE_LUA=1') && 'liblua5.4-dev' || '' }} \
${{ contains(matrix.FLAGS, 'USE_PCRE2=1') && 'libpcre2-dev' || '' }} \