-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding #267 new onyx theme with custom icons (thanks to Joey Catt | Onyx Studios) * Adding signing of Windows executables * Adding new light and dark theme using BreezeStyles * Adding #115 ability to provide concat file (thanks to Marco Ravich) * Adding support for brightness, contrast and saturation filters * Adding PySide6 as main GUI provider, now MIT licensed frontend!
- Loading branch information
1 parent
60adf2b
commit f672aaf
Showing
302 changed files
with
8,149 additions
and
1,100 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,252 @@ | ||
name: Build executables | ||
on: | ||
push: | ||
branches: [ master, build ] | ||
pull_request: | ||
branches: [ master, develop ] | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Gather build version | ||
run: | | ||
mkdir dist | ||
echo "::set-env name=VERSION::$(python scripts/get_version.py)" | ||
echo "Building branch ${{env.GITHUB_REF}} - version ${{env.VERSION}}" | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
|
||
- name: Install PySide6 apt requirements | ||
run: | | ||
sudo apt update | ||
sudo apt install libopengl0 freeglut3 freeglut3-dev libxcb-icccm4 libxkbcommon-x11-0 libxcb-xkb1 libxcb-render-util0 libxcb-randr0 libxcb-keysyms1 libxcb-image0 -y | ||
- uses: syphar/restore-pip-download-cache@v1 | ||
|
||
- name: Install pip requirements | ||
run: | | ||
python -m pip install --upgrade pip setuptools --ignore-installed | ||
python -m pip install --upgrade wheel typing_extensions pyinstaller | ||
python -m pip install --upgrade -r requirements.txt | ||
- name: Grab iso-639 lists | ||
run: | | ||
cp $(python -c "import iso639; print(iso639.mapping.TABLE_PATH)") iso-639-3.tab | ||
cp $(python -c "import iso639; print(iso639.mapping.MAPPING_PATH)") iso-639-3.json | ||
- name: Build single executable | ||
run: pyinstaller FastFlix_Nix_OneFile.spec | ||
|
||
- name: Copy license to dist | ||
run: | | ||
cp docs/build-licenses.txt dist/LICENSE | ||
- name: Test executable | ||
run: | | ||
chmod +x dist/FastFlix | ||
dist/FastFlix --version | ||
dist/FastFlix --test | ||
- name: Upload standalone executable artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: FastFlix_${{ env.VERSION }}_linux_x86_64 | ||
path: | | ||
dist/FastFlix | ||
dist/LICENSE | ||
build-windows-2019: | ||
|
||
runs-on: windows-2019 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Gather build version | ||
shell: powershell | ||
run: | | ||
mkdir dist | ||
New-Item -Path Env: -Name VERSION -Value $(python.exe scripts\get_version.py) | ||
echo "Building branch $env:GITHUB_REF - version $env:VERSION" | ||
echo "::set-env name=VERSION::$env:VERSION" | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
|
||
- uses: syphar/restore-pip-download-cache@v1 | ||
|
||
- name: Insatll requirements | ||
shell: cmd | ||
run: | | ||
python -m pip install --upgrade pip setuptools --ignore-installed | ||
python -m pip install --upgrade pypiwin32 wheel typing_extensions pyinstaller | ||
python -m pip install -r requirements.txt | ||
- name: Grab iso-639 lists | ||
shell: powershell | ||
run: | | ||
copy $(python -c "import iso639; print(iso639.mapping.TABLE_PATH)") iso-639-3.tab | ||
copy $(python -c "import iso639; print(iso639.mapping.MAPPING_PATH)") iso-639-3.json | ||
- name: Build single executable | ||
shell: cmd | ||
run: pyinstaller FastFlix_Windows_OneFile.spec | ||
|
||
- name: Build installer executable | ||
shell: cmd | ||
run: pyinstaller FastFlix_Windows_Installer.spec | ||
|
||
- name: Package installer | ||
shell: cmd | ||
run: | | ||
makensis.exe FastFlix.nsi | ||
move FastFlix_installer.exe dist\FastFlix_${{ env.VERSION }}_installer.exe | ||
- uses: skymatic/code-sign-action@v1 | ||
with: | ||
certificate: '${{ secrets.CODE_CERT_B64 }}' | ||
password: '${{ secrets.CODE_CERT_PASS }}' | ||
certificatesha1: '${{ secrets.CODE_CERT_THUMB }}' | ||
description: 'FastFlix' | ||
timestampUrl: 'http://timestamp.sectigo.com' | ||
folder: 'dist' | ||
recursive: false | ||
|
||
- name: Test executable | ||
run: | | ||
dist\FastFlix.exe --version | ||
dist\FastFlix.exe --test | ||
- name: Package single executable | ||
shell: cmd | ||
run: | | ||
move dist\*.exe . | ||
move docs\build-licenses.txt LICENSE | ||
- name: Upload standalone executable artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: FastFlix_${{ env.VERSION }}_win64 | ||
path: | | ||
FastFlix.exe | ||
LICENSE | ||
- name: Upload installer artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: FastFlix_${{ env.VERSION }}_installer | ||
path: FastFlix_${{ env.VERSION }}_installer.exe | ||
|
||
build-macos-10: | ||
|
||
runs-on: macOS-10.15 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Gather build version | ||
run: | | ||
mkdir dist | ||
echo "::set-env name=VERSION::$(python scripts/get_version.py)" | ||
echo "Building branch ${{env.GITHUB_REF}} - version ${{env.VERSION}}" | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
|
||
- uses: syphar/restore-pip-download-cache@v1 | ||
|
||
- name: Insatll requirements | ||
run: | | ||
python -m pip install --upgrade pip setuptools --ignore-installed | ||
python -m pip install --upgrade wheel typing_extensions pyinstaller | ||
python -m pip install --upgrade -r requirements.txt | ||
- name: Grab iso-639 lists | ||
run: | | ||
cp $(python -c "import iso639; print(iso639.mapping.TABLE_PATH)") iso-639-3.tab | ||
cp $(python -c "import iso639; print(iso639.mapping.MAPPING_PATH)") iso-639-3.json | ||
- name: Build executable | ||
run: pyinstaller FastFlix_Nix_OneFile.spec | ||
|
||
- name: Copy license to dist | ||
run: | | ||
cp docs/build-licenses.txt dist/LICENSE | ||
- name: Test executable | ||
run: | | ||
chmod +x dist/FastFlix | ||
dist/FastFlix --version | ||
dist/FastFlix --test | ||
- name: Upload standalone executable artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: FastFlix_${{ env.VERSION }}_macos10 | ||
path: | | ||
dist/FastFlix | ||
dist/LICENSE | ||
build-macos-11: | ||
|
||
runs-on: macOS-11 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Gather build version | ||
run: | | ||
mkdir dist | ||
echo "::set-env name=VERSION::$(python scripts/get_version.py)" | ||
echo "Building branch ${{env.GITHUB_REF}} - version ${{env.VERSION}}" | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
|
||
- uses: syphar/restore-pip-download-cache@v1 | ||
|
||
- name: Insatll requirements | ||
run: | | ||
python -m pip install --upgrade pip setuptools --ignore-installed | ||
python -m pip install --upgrade wheel typing_extensions pyinstaller | ||
python -m pip install --upgrade -r requirements.txt | ||
- name: Grab iso-639 lists | ||
run: | | ||
cp $(python -c "import iso639; print(iso639.mapping.TABLE_PATH)") iso-639-3.tab | ||
cp $(python -c "import iso639; print(iso639.mapping.MAPPING_PATH)") iso-639-3.json | ||
- name: Build executable | ||
run: pyinstaller FastFlix_Nix_OneFile.spec | ||
|
||
- name: Copy license to dist | ||
run: | | ||
cp docs/build-licenses.txt dist/LICENSE | ||
- name: Test executable | ||
run: | | ||
chmod +x dist/FastFlix | ||
dist/FastFlix --version | ||
dist/FastFlix --test | ||
- name: Upload standalone executable artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: FastFlix_${{ env.VERSION }}_macos11 | ||
path: | | ||
dist/FastFlix | ||
dist/LICENSE |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.