Skip to content

Commit

Permalink
Make source release build depend on wayland deps
Browse files Browse the repository at this point in the history
  • Loading branch information
flacjacket committed Sep 11, 2023
1 parent 6f695cf commit 04fde33
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,17 +261,40 @@ jobs:
build-source:
name: Build source package
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux_2_28_x86_64
needs: build-wayland
env:
python-version: "3.10"
python-version: "3.11"
steps:
- name: Download wayland libraries
uses: actions/download-artifact@v3
with:
name: wayland
- name: Unpack wayland artifact
run: tar xf wayland.tar.gz -C /
- name: Set python version
run: |
PYTHON_ROOT=$(find /opt/python -name cp${PYTHON_VERSION/./}-*)
echo "${PYTHON_ROOT}/bin" >> $GITHUB_PATH
shell: bash
env:
PYTHON_VERSION: ${{ matrix.python-version }}
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}
- name: Install dependencies
run: |
yum -y install \
libinput-devel \
libpciaccess \
libudev-devel \
libxkbcommon-x11-devel \
mesa-libEGL \
mesa-libgbm \
xcb-util \
xcb-util-image \
xcb-util-keysyms \
xcb-util-renderutil \
xcb-util-wm-devel
pip install build
- name: Build source
run: |
Expand Down

0 comments on commit 04fde33

Please sign in to comment.