.github: Build macOS binary and enable optimisations

This commit is contained in:
derrod 2021-10-28 10:22:36 +02:00
parent 07415d944c
commit 1850a8491f

View file

@ -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: