diff --git a/.github/workflows/package-action.yml b/.github/workflows/package-action.yml index 63fd03b..04c94cd 100644 --- a/.github/workflows/package-action.yml +++ b/.github/workflows/package-action.yml @@ -26,34 +26,40 @@ jobs: build: name: Build Python Wheel runs-on: ubuntu-latest + container: + image: debian:11 outputs: version: ${{ steps.version.outputs.version }} steps: - - uses: actions/checkout@master - - name: Set up Python 3.10 - uses: actions/setup-python@v4 - with: - python-version: "3.10" - - name: Install pypa/build - run: >- - python -m - pip install - build - --user - - name: Install pypa/pkginffo +# - uses: actions/checkout@master +# - name: Set up Python 3.10 +# uses: actions/setup-python@v4 +# with: +# python-version: "3.10" + + - name: Update Apt run: >- - python -m - pip install - pkginfo - --user + apt-get update - name: Install dependencies run: >- - sudo apt-get install -y gcc python3 + apt-get install -y gcc python3 python3-pip python3-venv flex make texinfo unzip help2man gawk libtool-bin libncurses5-dev bison wget rsync + - name: Create virtualenv + run: >- + python3 -m venv venv + + - name: Activate virtualenv + run: >- + source venv/bin/activate + + - name: Install python deps to venv + run: >- + pip install build wheel setuptools + - name: Echo Build Wheel Command run: echo "${{ inputs.cmd }}"