Skip to content

Commit bf96c09

Browse files
committed
GitHub actions: apt update before apt install
Try to solve broken package dependencies Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 695d444 commit bf96c09

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

.github/workflows/buildtest.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
path: 'kconfig'
2424

2525
- name: Install libelf
26-
run: sudo apt install -y libelf-dev
26+
run: |
27+
sudo apt update
28+
sudo apt install -y libelf-dev
2729
2830
- name: Install sparse
2931
run: |
@@ -54,7 +56,9 @@ jobs:
5456
path: 'kconfig'
5557

5658
- name: Install libelf
57-
run: sudo apt install -y libelf-dev
59+
run: |
60+
sudo apt update
61+
sudo apt install -y libelf-dev
5862
5963
- name: build start
6064
run: |
@@ -77,7 +81,9 @@ jobs:
7781
path: 'kconfig'
7882

7983
- name: Install libelf
80-
run: sudo apt install -y libelf-dev
84+
run: |
85+
sudo apt update
86+
sudo apt install -y libelf-dev
8187
8288
- name: build start
8389
run: |
@@ -121,7 +127,9 @@ jobs:
121127
path: 'kconfig'
122128

123129
- name: Install arm64 cross compiler
124-
run: sudo apt install -y gcc-aarch64-linux-gnu
130+
run: |
131+
sudo apt update
132+
sudo apt install -y gcc-aarch64-linux-gnu
125133
126134
- name: build start
127135
run: |
@@ -145,7 +153,9 @@ jobs:
145153
path: 'kconfig'
146154

147155
- name: Install libelf
148-
run: sudo apt install -y libelf-dev
156+
run: |
157+
sudo apt update
158+
sudo apt install -y libelf-dev
149159
150160
- name: build start
151161
run: |

0 commit comments

Comments
 (0)