-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New theme, concat ability, and eq filter (#269)
* Adding #267 new themes (thanks to Joey Catt | Onyx Studios) * Adding #115 ability to provide concat file (thanks to Marco Ravich) * Adding concatenation builder tool * Adding support for brightness, contrast and saturation filters
- Loading branch information
1 parent
60adf2b
commit 9bc8906
Showing
155 changed files
with
8,645 additions
and
572 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,283 @@ | ||
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 requirements | ||
run: | | ||
python -m pip install --upgrade pip setuptools --ignore-installed | ||
python -m pip install --upgrade wheel typing_extensions pyinstaller==4.3 | ||
python -m pip install -r requirements.txt | ||
python -m pip install --upgrade pyqt5-tools | ||
- 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-linux-legacy: | ||
|
||
runs-on: ubuntu-18.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 requirements | ||
run: | | ||
python -m pip install --upgrade pip setuptools --ignore-installed | ||
python -m pip install --upgrade wheel typing_extensions pyinstaller==4.3 | ||
python -m pip install -r requirements.txt | ||
python -m pip install --upgrade pyqt5-tools | ||
- 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_legacy_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 | ||
|
||
- 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==4.3 | ||
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 FastFlix_${{ env.VERSION }}_installer.exe | ||
- 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 | ||
|
||
- name: Insatll requirements | ||
run: | | ||
python -m pip install --upgrade pip setuptools --ignore-installed | ||
python -m pip install --upgrade wheel typing_extensions pyinstaller==4.3 | ||
python -m pip install -r requirements.txt | ||
python -m pip install pyqt5==5.15.3 --force-reinstall --upgrade | ||
- 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 | ||
|
||
- name: Insatll requirements | ||
run: | | ||
python -m pip install --upgrade pip setuptools --ignore-installed | ||
python -m pip install --upgrade wheel typing_extensions pyinstaller==4.3 | ||
python -m pip install -r requirements.txt | ||
python -m pip install pyqt5==5.15.3 --force-reinstall --upgrade | ||
- 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.
Oops, something went wrong.