mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
.github: Build macOS binary and enable optimisations
This commit is contained in:
parent
07415d944c
commit
1850a8491f
6
.github/workflows/python.yml
vendored
6
.github/workflows/python.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: ['ubuntu-20.04', 'windows-latest']
|
os: ['ubuntu-20.04', 'windows-latest', 'macos-latest']
|
||||||
|
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
max-parallel: 3
|
max-parallel: 3
|
||||||
|
@ -21,7 +21,7 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.10'
|
||||||
|
|
||||||
- name: Dependencies
|
- name: Dependencies
|
||||||
run: pip3 install --upgrade
|
run: pip3 install --upgrade
|
||||||
|
@ -43,6 +43,8 @@ jobs:
|
||||||
--name legendary
|
--name legendary
|
||||||
${{ steps.strip.outputs.option }}
|
${{ steps.strip.outputs.option }}
|
||||||
cli.py
|
cli.py
|
||||||
|
env:
|
||||||
|
PYTHONOPTIMIZE: 1
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue