mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-08-03 17:56:17 -04:00
ci.yml: run 'apt-get update' prior to 'apt-get install'
This hopefully will prevent the following error: E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dbg_2.27-3ubuntu1.3_amd64.deb 404 Not Found E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
This commit is contained in:
parent
4a0bb736c9
commit
60b6197fa6
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -21,7 +21,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get install -y clang llvm libz-dev valgrind
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y clang llvm libz-dev valgrind
|
||||||
- run: scripts/run_tests.sh
|
- run: scripts/run_tests.sh
|
||||||
|
|
||||||
other-arch-build-and-test:
|
other-arch-build-and-test:
|
||||||
@ -88,7 +90,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get install -y clang-tools
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y clang-tools
|
||||||
- name: Run clang static analyzer
|
- name: Run clang static analyzer
|
||||||
run: make scan-build
|
run: make scan-build
|
||||||
|
|
||||||
@ -98,7 +102,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get install -y shellcheck
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y shellcheck
|
||||||
- name: Run shellcheck
|
- name: Run shellcheck
|
||||||
run: make shellcheck
|
run: make shellcheck
|
||||||
|
|
||||||
@ -108,7 +114,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get install -y gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 libz-mingw-w64-dev
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 libz-mingw-w64-dev
|
||||||
- name: 32-bit build
|
- name: 32-bit build
|
||||||
run: make CC=i686-w64-mingw32-gcc all test_programs
|
run: make CC=i686-w64-mingw32-gcc all test_programs
|
||||||
- name: 64-bit build
|
- name: 64-bit build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user