fuelpump: potentially resolve issues with DRM #49
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
name: Build binaries | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
max-parallel: 3 | |
matrix: | |
os: [ubuntu-20.04, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install pyinstaller and dependencies | |
run: pip3 install --upgrade pyinstaller -r requirements.txt | |
- name: Set strip on Linux and Mac | |
id: strip | |
run: echo "option=--strip" >> $GITHUB_OUTPUT | |
if: runner.os != 'Windows' | |
- name: Build | |
run: pyinstaller | |
--onefile | |
--name nile | |
${{ steps.strip.outputs.option }} | |
nile/cli.py | |
env: | |
PYTHONOPTIMIZE: 1 | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: nile-${{ runner.os }} | |
path: dist/* |