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 7a119df
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
build:
name: Build Python Wheel
runs-on: ubuntu-latest
container:
image: debian:11
outputs:
version: ${{ steps.version.outputs.version }}
steps:
Expand All @@ -34,26 +36,32 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Update Apt
run: >-
apt-get update
- name: Install dependencies
run: >-
apt-get install -y gcc python3
python3-pip python3-venv flex make
texinfo unzip help2man gawk libtool-bin libncurses5-dev
bison wget rsync
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Install pypa/pkginffo
run: >-
python -m
pip install
pkginfo
--user
- name: Install dependencies
run: >-
sudo apt-get install -y gcc python3
python3-pip python3-venv flex make
texinfo unzip help2man gawk libtool-bin libncurses5-dev
bison wget rsync
- name: Echo Build Wheel Command
run: echo "${{ inputs.cmd }}"

Expand Down

0 comments on commit 7a119df

Please sign in to comment.