2023-08-26 18:26:50 +03:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2023-08-26 18:34:10 +03:00
|
|
|
build_linux:
|
2023-08-28 12:12:58 +03:00
|
|
|
name: Build on ${{ matrix.image }} (Qt ${{ matrix.qt }})
|
2023-08-26 18:26:50 +03:00
|
|
|
runs-on: ubuntu-latest
|
2023-08-28 12:24:26 +03:00
|
|
|
continue-on-error: ${{ matrix.experimental }}
|
2023-08-26 18:26:50 +03:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
image: [manylinux_2_28]
|
2023-08-28 12:24:26 +03:00
|
|
|
qt: [6.4.2]
|
2023-08-26 18:26:50 +03:00
|
|
|
arch: [x86_64]
|
2023-08-28 12:24:26 +03:00
|
|
|
experimental: [false]
|
|
|
|
include:
|
2023-08-28 12:26:14 +03:00
|
|
|
- image: manylinux_2_28
|
2023-08-28 12:45:21 +03:00
|
|
|
qt: 6.5.3
|
2023-08-28 12:26:14 +03:00
|
|
|
arch: x86_64
|
2023-08-28 12:24:26 +03:00
|
|
|
experimental: true
|
2023-08-26 18:26:50 +03:00
|
|
|
container:
|
|
|
|
image: ghcr.io/python-limereport/pyside_builder_${{ matrix.image }}_${{ matrix.arch }}:qt-${{ matrix.qt }}
|
|
|
|
steps:
|
2023-08-28 12:12:58 +03:00
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
2024-03-10 20:50:34 +03:00
|
|
|
- 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/*
|
|
|
|
|
|
|
|
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
|
|
|
|
- uses: actions/setup-python@v5
|
|
|
|
with:
|
|
|
|
python-version: '3.10'
|
2023-08-28 12:12:58 +03:00
|
|
|
- name: Build
|
2024-03-10 20:50:34 +03:00
|
|
|
run: python build.py
|
2023-08-28 12:12:58 +03:00
|
|
|
- name: Upload artifact
|
|
|
|
uses: actions/upload-artifact@v3
|
2023-08-27 20:36:48 +03:00
|
|
|
with:
|
|
|
|
path: /output/*
|