]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update apt-get prior to tests that install packages 2682/head
authorsenhuang42 <senhuang96@fb.com>
Wed, 26 May 2021 17:38:36 +0000 (13:38 -0400)
committersenhuang42 <senhuang96@fb.com>
Wed, 26 May 2021 17:38:36 +0000 (13:38 -0400)
.github/workflows/dev-long-tests.yml
.github/workflows/dev-short-tests.yml

index 773be83fad6cd2dcff1d90193e7c8c3e40c9dbf2..bc7e5121820a70c07c31c9570d86df11c3a0033b 100644 (file)
@@ -47,6 +47,7 @@ jobs:
     - uses: actions/checkout@v2
     - name: gcc-8 + ASan + UBSan + Test Zstd
       run: |
+        sudo apt-get -qqq update
         make gcc8install
         CC=gcc-8 make -j uasan-test-zstd </dev/null V=1
 
@@ -101,7 +102,7 @@ jobs:
     - uses: actions/checkout@v2
     - name: clang + MSan + Fuzz Test
       run: |
-        sudo apt-get update
+        sudo apt-get -qqq update
         sudo apt-get install clang
         CC=clang FUZZER_FLAGS="--long-tests" make clean msan-fuzztest
 
@@ -121,6 +122,7 @@ jobs:
       - uses: actions/checkout@v2
       - name: Qemu ARM emulation + Fuzz Test
         run: |
+          sudo apt-get -qqq update
           make arminstall
           make armfuzz
 
index dc79986eb2246b48d0dc9f680a238859514503d0..0092775b1a7080275916c4f1ea45f537fb8401b7 100644 (file)
@@ -41,6 +41,7 @@ jobs:
     - uses: actions/checkout@v2
     - name: gcc-7 + libzstdmt compilation
       run: |
+        sudo apt-get -qqq update
         make gcc7install
         CC=gcc-7 CFLAGS=-Werror make -j all
         make clean
@@ -81,6 +82,7 @@ jobs:
     - name: mingw cross-compilation
       run: |
         # 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
         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
     - name: ARM Build Test
       run: |
+        sudo apt-get -qqq update
         make arminstall
         make armbuild
 
@@ -109,6 +112,7 @@ jobs:
     - uses: actions/checkout@v2
     - name: zlib wrapper test
       run: |
+        sudo apt-get -qqq update
         make valgrindinstall
         make -C zlibWrapper test
         make -C zlibWrapper valgrindTest
@@ -133,6 +137,7 @@ jobs:
     - uses: actions/checkout@v2
     - name: Make all, 32bit mode
       run: |
+        sudo apt-get -qqq update
         make libc6install
         CFLAGS="-Werror -m32" make -j all32
   
@@ -142,6 +147,7 @@ jobs:
       - uses: actions/checkout@v2
       - name: gcc-8 build
         run: |
+          sudo apt-get -qqq update
           make gcc8install
           CC=gcc-8 CFLAGS="-Werror" make -j all