From 877adf52d69499ad81fa4671c82bcc1c3cb24a4e Mon Sep 17 00:00:00 2001 From: Evgenii Kliuchnikov Date: Fri, 8 Sep 2023 07:42:41 -0700 Subject: [PATCH] test building from the tarball FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/google/brotli/pull/1073 from anthrotype:py-long-description 45413874748d1f92a7e701d7320efaa101441c20 PiperOrigin-RevId: 563749441 --- .github/workflows/build_test.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index e710c0f44..44c8eb3cf 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -357,3 +357,22 @@ jobs: python -VV python -c "import sys; sys.exit('Invalid python version') if '.'.join(map(str,sys.version_info[0:2])) != '${{ matrix.python_version }}' else True" python setup.py ${{ matrix.py_setuptools_cmd || 'test'}} + + archive_build: + name: Build and test from archive + runs-on: 'ubuntu-latest' + defaults: + run: + shell: bash + steps: + + - name: archive + run: | + git archive -o archive.tgz + + - name: extract + runs: | + mkdir archive + cd archive + tar xvzf ../archive.tgz + ls