[PATCH] D152064: CI: run "apt update" before installing any packages
Charles the Thobe via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 3 06:53:28 PDT 2023
charlesthobe updated this revision to Diff 528104.
charlesthobe added a comment.
removed double "sudo"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152064/new/
https://reviews.llvm.org/D152064
Files:
.github/workflows/libclang-abi-tests.yml
.github/workflows/llvm-tests.yml
.github/workflows/release-binaries.yml
.github/workflows/release-tasks.yml
Index: .github/workflows/release-tasks.yml
===================================================================
--- .github/workflows/release-tasks.yml
+++ .github/workflows/release-tasks.yml
@@ -26,8 +26,8 @@
- name: Install Dependencies
run: |
- sudo apt-get update
- sudo apt-get install -y \
+ sudo apt update
+ sudo apt install -y \
doxygen \
graphviz \
python3-github \
@@ -84,7 +84,9 @@
uses: actions/checkout at v3
- name: Install dependencies
- run: apt-get install -y python3-setuptools
+ run: |
+ sudo apt update
+ sudo apt install -y python3-setuptools
- name: Test lit
run: |
Index: .github/workflows/release-binaries.yml
===================================================================
--- .github/workflows/release-binaries.yml
+++ .github/workflows/release-binaries.yml
@@ -87,7 +87,9 @@
- name: Install Debian build dependencies
if: matrix.target.debian-build-deps != ''
- run: sudo apt install ${{ matrix.target.debian-build-deps }}
+ run: |
+ sudo apt update
+ sudo apt install ${{ matrix.target.debian-build-deps }}
- name: Set macOS build env variables
if: runner.os == 'macOS'
Index: .github/workflows/llvm-tests.yml
===================================================================
--- .github/workflows/llvm-tests.yml
+++ .github/workflows/llvm-tests.yml
@@ -109,7 +109,8 @@
uses: llvm/actions/install-ninja at main
- name: Install abi-compliance-checker
run: |
- sudo apt-get install abi-dumper autoconf pkg-config
+ sudo apt update
+ sudo apt install abi-dumper autoconf pkg-config
- name: Install universal-ctags
run: |
git clone https://github.com/universal-ctags/ctags.git
@@ -178,7 +179,9 @@
name: symbol-list
- name: Install abi-compliance-checker
- run: sudo apt-get install abi-compliance-checker
+ run: |
+ sudo apt update
+ sudo apt install abi-compliance-checker
- name: Compare ABI
run: |
if [ -s symbol-list/llvm.symbols ]; then
Index: .github/workflows/libclang-abi-tests.yml
===================================================================
--- .github/workflows/libclang-abi-tests.yml
+++ .github/workflows/libclang-abi-tests.yml
@@ -103,7 +103,8 @@
uses: llvm/actions/install-ninja at main
- name: Install abi-compliance-checker
run: |
- sudo apt-get install abi-dumper autoconf pkg-config
+ sudo apt update
+ sudo apt install abi-dumper autoconf pkg-config
- name: Install universal-ctags
run: |
git clone https://github.com/universal-ctags/ctags.git
@@ -152,7 +153,9 @@
name: build-latest
- name: Install abi-compliance-checker
- run: sudo apt-get install abi-compliance-checker
+ run: |
+ sudo apt update
+ sudo apt install abi-compliance-checker
- name: Compare ABI
run: |
for lib in ${{ needs.abi-dump-setup.outputs.ABI_LIBS }}; do
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152064.528104.patch
Type: text/x-patch
Size: 3211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230603/91045f65/attachment.bin>
More information about the llvm-commits
mailing list