Merge pull request #2682 from senhuang42/armbuild_fixtest

Make GH Actions CI tests run apt-get update before apt-get install
dev
sen 2021-05-26 14:14:43 -04:00 committed by GitHub
commit 2ee2cf9cdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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