Fix CI failures by adding apt-get update to Github Actions (#3082)
* Fix CI failures by adding apt-get update to Makefile * Fix travis failure caused by apt-get update * Move apt-get update from Makefile to Github Actions .yml * Revert .travis.yml change * Fix typodev
parent
41665679bf
commit
0c386afbfd
|
@ -75,6 +75,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: ASan + UBSan + Test Zstd, 32bit mode
|
- name: ASan + UBSan + Test Zstd, 32bit mode
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make libc6install
|
make libc6install
|
||||||
make -j uasan-test-zstd32 V=1
|
make -j uasan-test-zstd32 V=1
|
||||||
|
|
||||||
|
@ -88,6 +89,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: gcc-8 + ASan + UBSan + Fuzz Test
|
- name: gcc-8 + ASan + UBSan + Fuzz Test
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make gcc8install
|
make gcc8install
|
||||||
CC=gcc-8 FUZZER_FLAGS="--long-tests" make clean uasan-fuzztest
|
CC=gcc-8 FUZZER_FLAGS="--long-tests" make clean uasan-fuzztest
|
||||||
|
|
||||||
|
@ -97,6 +99,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: ASan + UBSan + Fuzz Test 32bit
|
- name: ASan + UBSan + Fuzz Test 32bit
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make libc6install
|
make libc6install
|
||||||
CFLAGS="-O3 -m32" FUZZER_FLAGS="--long-tests" make uasan-fuzztest
|
CFLAGS="-O3 -m32" FUZZER_FLAGS="--long-tests" make uasan-fuzztest
|
||||||
|
|
||||||
|
@ -152,6 +155,7 @@ jobs:
|
||||||
- name: valgrind + fuzz test stack mode # ~ 7mn
|
- name: valgrind + fuzz test stack mode # ~ 7mn
|
||||||
shell: 'script -q -e -c "bash {0}"'
|
shell: 'script -q -e -c "bash {0}"'
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make valgrindinstall
|
make valgrindinstall
|
||||||
make -C tests valgrindTest
|
make -C tests valgrindTest
|
||||||
make clean
|
make clean
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -334,6 +334,8 @@ tsan-%: clean
|
||||||
|
|
||||||
.PHONY: apt-install
|
.PHONY: apt-install
|
||||||
apt-install:
|
apt-install:
|
||||||
|
# TODO: uncomment once issue 3011 is resolved and remove hack from Github Actions .yml
|
||||||
|
# sudo apt-get update
|
||||||
sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install $(APT_PACKAGES)
|
sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install $(APT_PACKAGES)
|
||||||
|
|
||||||
.PHONY: apt-add-repo
|
.PHONY: apt-add-repo
|
||||||
|
|
Loading…
Reference in New Issue