changeset 1850:d99b167994b5

Remove caching and socat from build.yml socat isn't needed and it consumes exit codes Caching seems impossible to invalidate
author Matt Johnston <matt@ucc.asn.au>
date Tue, 19 Oct 2021 12:49:19 +0800
parents d34f50b7b9fd
children 7f549ee3df48
files .github/workflows/build.yml
diffstat 1 files changed, 2 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/build.yml	Tue Oct 19 12:16:20 2021 +0800
+++ b/.github/workflows/build.yml	Tue Oct 19 12:49:19 2021 +0800
@@ -87,25 +87,10 @@
         if: ${{ matrix.apt != 'no' }}
         run: |
           sudo apt-get -y update
-          sudo apt-get -y install zlib1g-dev libtomcrypt-dev libtommath-dev mercurial python3-venv socat $CC
+          sudo apt-get -y install zlib1g-dev libtomcrypt-dev libtommath-dev mercurial python3-venv $CC
 
       - uses: actions/checkout@v2
 
-      - name: cache pip
-        if: ${{ !env.ACT }}
-        uses: actions/cache@v2
-        with:
-          path: test/venv
-          key: ${{ runner.os }}-pip-${{ hashFiles('test/requirements.txt') }}
-          restore-keys: ${{ runner.os }}-pip-
-
-      - name: cache fuzzcorpus
-        if: ${{ !env.ACT }}
-        uses: actions/cache@v2
-        with:
-          path: fuzzcorpus
-          key: "hg.ucc/fuzzcorpus"
-
       - name: configure
         run: ./configure $CONFIGURE_FLAGS CFLAGS="-O2 -Wall -Wno-pointer-sign $EXTRACFLAGS" --prefix="$HOME/inst" || (cat config.log; exit 1)
 
@@ -143,8 +128,7 @@
 
       - name: check
         if: ${{ matrix.runcheck != 'no' }}
-      # run in a TTY for some tests
-        run: socat - EXEC:"make check",pty
+        run: make check
 
       # Sanity check that the binary runs
       - name: genrsa