Skip to content

Commit

Permalink
build in container
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Aug 31, 2024
1 parent 2439dda commit e905d83
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions .github/workflows/package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

Expand Down

0 comments on commit e905d83

Please sign in to comment.