Skip to content

Commit

Permalink
build-and-test.yml: Add "sudo apt-get update"
Browse files Browse the repository at this point in the history
.. to be robust towards an out-of-sync CI runner image
  • Loading branch information
hartwork committed Oct 15, 2021
1 parent a9e027d commit 28cddcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- name: Install build dependencies
run: |-
sudo apt-get update
sudo apt-get install --yes --no-install-recommends -V \
cmake \
doxygen \
Expand All @@ -56,7 +57,7 @@ jobs:
if: "${{ contains(matrix.cmake_args, 'mingw') }}"
run: |-
sudo dpkg --add-architecture i386 # for wine32
sudo apt-get update # due to new architecture
sudo apt-get update # again, due to new architecture
sudo apt-get install --yes --no-install-recommends -V \
mingw-w64 \
wine-stable \
Expand Down

0 comments on commit 28cddcf

Please sign in to comment.