mirror of
https://github.com/python-LimeReport/pyside.git
synced 2024-12-25 07:24:42 +03:00
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
name: Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build_linux:
|
|
name: Build on ${{ matrix.image }} (Qt ${{ matrix.qt }})
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: ${{ matrix.experimental }}
|
|
strategy:
|
|
matrix:
|
|
image: [manylinux_2_28]
|
|
qt: [6.4.2]
|
|
arch: [x86_64]
|
|
experimental: [false]
|
|
include:
|
|
- image: manylinux_2_28
|
|
qt: 6.5.3
|
|
arch: x86_64
|
|
experimental: true
|
|
container:
|
|
image: ghcr.io/python-limereport/pyside_builder_${{ matrix.image }}_${{ matrix.arch }}:qt-${{ matrix.qt }}
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
- name: Build
|
|
run: python build.py
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
path: /output/*
|
|
|
|
build_windows:
|
|
name: Build on Windows (Qt ${{ matrix.qt }})
|
|
runs-on: windows-2019
|
|
strategy:
|
|
matrix:
|
|
qt: [6.4.2]
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
- name: Install Qt
|
|
uses: jurplel/install-qt-action@v3
|
|
with:
|
|
version: ${{ matrix.qt }}
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.10'
|
|
- name: Build
|
|
run: python build.py
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
path: /output/*
|