diff --git a/.github/workflows/libclang-abi-tests.yml b/.github/workflows/libclang-abi-tests.yml --- a/.github/workflows/libclang-abi-tests.yml +++ b/.github/workflows/libclang-abi-tests.yml @@ -99,11 +99,13 @@ ref: ${{ github.sha }} repo: ${{ github.repository }} steps: + - name: Sync APT repositories + run: sudo apt update - name: Install Ninja uses: llvm/actions/install-ninja@main - name: Install abi-compliance-checker run: | - sudo apt-get install abi-dumper autoconf pkg-config + sudo apt install abi-dumper autoconf pkg-config - name: Install universal-ctags run: | git clone https://github.com/universal-ctags/ctags.git @@ -151,8 +153,10 @@ with: name: build-latest + - name: Sync APT repositories + run: sudo apt update - name: Install abi-compliance-checker - run: sudo apt-get install abi-compliance-checker + run: sudo apt install abi-compliance-checker - name: Compare ABI run: | for lib in ${{ needs.abi-dump-setup.outputs.ABI_LIBS }}; do diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml --- a/.github/workflows/llvm-project-tests.yml +++ b/.github/workflows/llvm-project-tests.yml @@ -57,6 +57,9 @@ uses: actions/setup-python@v4 with: python-version: '3.11' + - name: Sync APT repositories + if: startsWith(matrix.os, 'ubuntu') + run: sudo apt update - name: Install Ninja uses: llvm/actions/install-ninja@main # actions/checkout deletes any existing files in the new git directory, diff --git a/.github/workflows/llvm-tests.yml b/.github/workflows/llvm-tests.yml --- a/.github/workflows/llvm-tests.yml +++ b/.github/workflows/llvm-tests.yml @@ -105,11 +105,13 @@ ref: ${{ github.sha }} repo: ${{ github.repository }} steps: + - name: Sync APT repositories + run: sudo apt update - name: Install Ninja uses: llvm/actions/install-ninja@main - name: Install abi-compliance-checker run: | - sudo apt-get install abi-dumper autoconf pkg-config + sudo apt install abi-dumper autoconf pkg-config - name: Install universal-ctags run: | git clone https://github.com/universal-ctags/ctags.git @@ -177,8 +179,10 @@ with: name: symbol-list + - name: Sync APT repositories + run: sudo apt update - name: Install abi-compliance-checker - run: sudo apt-get install abi-compliance-checker + run: sudo apt install abi-compliance-checker - name: Compare ABI run: | if [ -s symbol-list/llvm.symbols ]; then diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -85,6 +85,9 @@ if: matrix.target.brew-build-deps != '' run: brew install ${{ matrix.target.brew-build-deps }} + - name: Sync APT repositories + run: sudo apt update + - name: Install Debian build dependencies if: matrix.target.debian-build-deps != '' run: sudo apt install ${{ matrix.target.debian-build-deps }} diff --git a/.github/workflows/release-tasks.yml b/.github/workflows/release-tasks.yml --- a/.github/workflows/release-tasks.yml +++ b/.github/workflows/release-tasks.yml @@ -24,10 +24,12 @@ release_version=$(echo "${{ github.ref_name }}" | sed 's/llvmorg-//g') echo "release-version=$release_version" >> $GITHUB_OUTPUT + - name: Sync APT repositories + run: sudo apt update + - name: Install Dependencies run: | - sudo apt-get update - sudo apt-get install -y \ + sudo apt install -y \ doxygen \ graphviz \ python3-github \ @@ -83,8 +85,11 @@ - name: Checkout LLVM uses: actions/checkout@v3 + - name: Sync APT repositories + run: sudo apt update + - name: Install dependencies - run: apt-get install -y python3-setuptools + run: sudo apt install -y python3-setuptools - name: Test lit run: |