mirror of
https://github.com/facebook/zstd.git
synced 2025-12-11 00:06:10 -05:00
Update apt-get prior to tests that install packages
This commit is contained in:
parent
414bcf239b
commit
d278bede33
4
.github/workflows/dev-long-tests.yml
vendored
4
.github/workflows/dev-long-tests.yml
vendored
@ -47,6 +47,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: gcc-8 + ASan + UBSan + Test Zstd
|
- name: gcc-8 + ASan + UBSan + Test Zstd
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make gcc8install
|
make gcc8install
|
||||||
CC=gcc-8 make -j uasan-test-zstd </dev/null V=1
|
CC=gcc-8 make -j uasan-test-zstd </dev/null V=1
|
||||||
|
|
||||||
@ -101,7 +102,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: clang + MSan + Fuzz Test
|
- name: clang + MSan + Fuzz Test
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get -qqq update
|
||||||
sudo apt-get install clang
|
sudo apt-get install clang
|
||||||
CC=clang FUZZER_FLAGS="--long-tests" make clean msan-fuzztest
|
CC=clang FUZZER_FLAGS="--long-tests" make clean msan-fuzztest
|
||||||
|
|
||||||
@ -121,6 +122,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Qemu ARM emulation + Fuzz Test
|
- name: Qemu ARM emulation + Fuzz Test
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make arminstall
|
make arminstall
|
||||||
make armfuzz
|
make armfuzz
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/dev-short-tests.yml
vendored
6
.github/workflows/dev-short-tests.yml
vendored
@ -41,6 +41,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: gcc-7 + libzstdmt compilation
|
- name: gcc-7 + libzstdmt compilation
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make gcc7install
|
make gcc7install
|
||||||
CC=gcc-7 CFLAGS=-Werror make -j all
|
CC=gcc-7 CFLAGS=-Werror make -j all
|
||||||
make clean
|
make clean
|
||||||
@ -81,6 +82,7 @@ jobs:
|
|||||||
- name: mingw cross-compilation
|
- name: mingw cross-compilation
|
||||||
run: |
|
run: |
|
||||||
# sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix; (doesn't work)
|
# sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix; (doesn't work)
|
||||||
|
sudo apt-get -qqq update
|
||||||
sudo apt-get install gcc-mingw-w64
|
sudo apt-get install gcc-mingw-w64
|
||||||
CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ CFLAGS="-Werror -O1" make zstd
|
CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ CFLAGS="-Werror -O1" make zstd
|
||||||
|
|
||||||
@ -90,6 +92,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: ARM Build Test
|
- name: ARM Build Test
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make arminstall
|
make arminstall
|
||||||
make armbuild
|
make armbuild
|
||||||
|
|
||||||
@ -109,6 +112,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: zlib wrapper test
|
- name: zlib wrapper test
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make valgrindinstall
|
make valgrindinstall
|
||||||
make -C zlibWrapper test
|
make -C zlibWrapper test
|
||||||
make -C zlibWrapper valgrindTest
|
make -C zlibWrapper valgrindTest
|
||||||
@ -133,6 +137,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Make all, 32bit mode
|
- name: Make all, 32bit mode
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make libc6install
|
make libc6install
|
||||||
CFLAGS="-Werror -m32" make -j all32
|
CFLAGS="-Werror -m32" make -j all32
|
||||||
|
|
||||||
@ -142,6 +147,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: gcc-8 build
|
- name: gcc-8 build
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qqq update
|
||||||
make gcc8install
|
make gcc8install
|
||||||
CC=gcc-8 CFLAGS="-Werror" make -j all
|
CC=gcc-8 CFLAGS="-Werror" make -j all
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user