-
-
Notifications
You must be signed in to change notification settings - Fork 22
48 lines (42 loc) · 1.15 KB
/
build_gui_linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build GUI (Linux x64)
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build-pornfetch-gui-linux-x64:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.11 x64
uses: actions/setup-python@v2
with:
python-version: 3.11
architecture: x64
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
pip install PySide6 nuitka zstandard
- name: Build application for x64
run: |
mkdir deploy
shopt -s extglob
mv !(deploy|venv) deploy/ # Ensure venv is not moved
cd deploy
pwd
ls -la
source ../venv/bin/activate
pyside6-deploy -c src/build/pysidedeploy_linux.spec main.py
- name: Archive x64 build
uses: actions/upload-artifact@v4
with:
name: pyside6-application-x64
path: deploy/main.bin