mirror of
https://github.com/python-LimeReport/pyside.git
synced 2024-12-23 22:53:01 +03:00
try fix
This commit is contained in:
parent
80bbcdeee2
commit
b82edc987d
6
.github/workflows/blank.yml
vendored
6
.github/workflows/blank.yml
vendored
@ -3,8 +3,8 @@ name: Build
|
|||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_wheels:
|
build_linux:
|
||||||
name: Build wheels on ${{ matrix.image }} (Qt ${{ matrix.qt }} )
|
name: Build on ${{ matrix.image }} (Qt ${{ matrix.qt }} )
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -14,4 +14,4 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: ghcr.io/python-limereport/pyside_builder_${{ matrix.image }}_${{ matrix.arch }}:qt-${{ matrix.qt }}
|
image: ghcr.io/python-limereport/pyside_builder_${{ matrix.image }}_${{ matrix.arch }}:qt-${{ matrix.qt }}
|
||||||
steps:
|
steps:
|
||||||
- run: echo test;
|
- run: ./build.sh
|
||||||
|
37
build.sh
Executable file
37
build.sh
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
qt6_build()
|
||||||
|
{
|
||||||
|
python3 setup.py build --parallel "$(nproc)" --limited-api yes
|
||||||
|
export dir_name=qfpa-py${PYTHON_VERSION}-qt${QT_VERSION}-64bit-release \
|
||||||
|
tar czvf "/output/$dir_name.tar.gz" -C "./build/$dir_name/install" .
|
||||||
|
python3 setup.py build --parallel "$(nproc)" bdist_wheel --limited-api yes
|
||||||
|
cp ./dist/* /output
|
||||||
|
}
|
||||||
|
|
||||||
|
qt5_build()
|
||||||
|
{
|
||||||
|
echo "Not implemented"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
mkdir -p /output
|
||||||
|
|
||||||
|
cd /opt \
|
||||||
|
git clone -b ${QT_VERSION} https://code.qt.io/pyside/pyside-setup.git \
|
||||||
|
cd pyside-setup \
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
case $QT_VERSION in
|
||||||
|
6*)
|
||||||
|
qt6_build
|
||||||
|
;;
|
||||||
|
5*)
|
||||||
|
qt5_build
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Unsupported version of QT"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Reference in New Issue
Block a user